1
1
mirror of https://gitea.com/gitea/tea synced 2024-11-23 08:22:40 +01:00
tea/modules/task
Norwin a948fd7e10 Refactor error handling (#308)
use fmt instead of log

log.Fatal -> return err

set non-zero exit code on error

print to default err log

cleanup

fix vet

Co-authored-by: Norwin Roosen <git@nroo.de>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/308
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: 6543 <6543@obermui.de>
Co-Authored-By: Norwin <noerw@noreply.gitea.io>
Co-Committed-By: Norwin <noerw@noreply.gitea.io>
2020-12-17 00:18:10 +08:00
..
issue_create.go Refactor error handling (#308) 2020-12-17 00:18:10 +08:00
labels_export.go Refactor error handling (#308) 2020-12-17 00:18:10 +08:00
login_create.go Refactor error handling (#308) 2020-12-17 00:18:10 +08:00
login_ssh.go [Refactor] unexport config.Config var & move login tasks to task module (#288) 2020-12-12 21:28:37 +08:00
pull_checkout.go Improve ssh handling (#277) 2020-12-11 21:42:41 +08:00
pull_clean.go Remove Interact Dependency Of Task Module (#280) 2020-12-08 19:25:21 +08:00
pull_create.go Refactor error handling (#308) 2020-12-17 00:18:10 +08:00