diff options
author | Matthias Loibl <mail@matthiasloibl.com> | 2016-11-10 11:02:01 +0100 |
---|---|---|
committer | Andrey Nering <andrey.nering@gmail.com> | 2016-11-10 08:02:01 -0200 |
commit | 31da22530968a7dda7e8cb04c8765a431bea731e (patch) | |
tree | d3e23b9aa06b1288a121f8db8372a8f175693543 /main.go | |
parent | 24d7bae2b25f855446ced0a40d9fc642f22bb984 (diff) | |
download | gitea-31da22530968a7dda7e8cb04c8765a431bea731e.tar.gz gitea-31da22530968a7dda7e8cb04c8765a431bea731e.zip |
Check unhandled errors (#128)
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,6 +8,7 @@ package main import ( + "log" "os" "runtime" @@ -38,5 +39,5 @@ func main() { cmd.CmdAdmin, } app.Flags = append(app.Flags, []cli.Flag{}...) - app.Run(os.Args) + log.Fatal(app.Run(os.Args)) } |