diff options
Diffstat (limited to 'exit.go')
| -rw-r--r-- | exit.go | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -23,7 +23,14 @@ func okExit(thing string) { } func badExit(err error) { - log.Info("forge failed: ", err, me.forge.Config.ReposDir) + log.Info(err) + log.Info("forge failed") + os.Exit(-1) +} + +func newBadExit(msg string, err error) { + log.Info(err) + log.Info(msg) os.Exit(-1) } |
