diff --git a/cmd/nourybot/main.go b/cmd/nourybot/main.go index 9c2195e..cb753ee 100644 --- a/cmd/nourybot/main.go +++ b/cmd/nourybot/main.go @@ -54,7 +54,7 @@ func main() { logger := zap.NewExample() defer func() { if err := logger.Sync(); err != nil { - logger.Sugar().Fatalw("error syncing logger", + logger.Sugar().Errorw("error syncing logger", "error", err, ) }