From c2e2d27700e8f588426ae8426116804b94e6f33a Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Sun, 16 Apr 2017 23:48:54 -0300 Subject: [PATCH] errcheck --- cmd/main/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/main/main.go b/cmd/main/main.go index 2318c1e..ccf3c95 100644 --- a/cmd/main/main.go +++ b/cmd/main/main.go @@ -47,7 +47,9 @@ func main() { printHighlights(allStats) return nil } - app.Run(os.Args) + if err := app.Run(os.Args); err != nil { + panic(err) + } } func printHighlights(s orgstats.Stats) {