Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Commit

Permalink
panic instead of log.Fatalf
Browse files Browse the repository at this point in the history
log.Fatalf should os.Exit(1), but it is failing to exit.
labstack/gommon/log implements this correctly, but exit is still failing
for some reason. Panic until we can find the source of this interesting
bug.
  • Loading branch information
redhotpenguin committed Oct 31, 2018
1 parent 5cc018c commit 6a5a809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/server/main.go
Expand Up @@ -49,7 +49,7 @@ func main() {
// startup our gosnowth client
snowthClient, err := gosnowth.NewSnowthClient(false, snowths...)
if err != nil {
log.Fatalf("failed to start snowth client: %s", err.Error())
panic(fmt.Sprintf("failed to start snowth client: %s", err.Error()))
}

e := echo.New()
Expand Down

0 comments on commit 6a5a809

Please sign in to comment.