Refactor error handling #308

Merged
6543 merged 7 commits from noerw/tea:improve-error-log into master 2020-12-16 16:18:11 +00:00
Showing only changes of commit edb1a8408f - Show all commits

View File

@ -46,7 +46,7 @@ func main() {
// app.Run already exits for errors implementing ErrorCoder,
// so we only handle generic errors with code 1 here.
fmt.Fprintf(app.ErrWriter, "Error: %v\n", err)
noerw marked this conversation as resolved Outdated
Outdated
Review

One nit: can you print to stderr ?

One nit: can you print to stderr ?
os.Exit(1) //
os.Exit(1)
}
}