summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/main.go b/main.go
index 9bbf0eec1..b8b9af931 100644
--- a/main.go
+++ b/main.go
@@ -53,7 +53,13 @@ func main() {
}
app, err := app.NewApp(appConfig)
- app.Log.Info(err)
+ if err != nil {
+ // TODO: remove this call to panic after anonymous error reporting
+ // is setup (right now the call to panic logs nothing to the screen which
+ // would make debugging difficult
+ panic(err)
+ // app.Log.Panic(err.Error())
+ }
app.GitCommand.SetupGit()
app.Gui.RunWithSubprocesses()
}