Skip to content

Commit

Permalink
Log error on shutdown (#1062)
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-khimov authored Jan 24, 2025
2 parents 3d3b41e + 480835e commit 50a1cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/s3-gw/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ func (ms *Service) ShutDown(ctx context.Context) {
ms.log.Info("shutting down service", zap.String("endpoint", ms.Addr))
err := ms.Shutdown(ctx)
if err != nil {
ms.log.Panic("can't shut down service")
ms.log.Fatal("gracefully shutting down failed", zap.Error(err))
}
}

0 comments on commit 50a1cc1

Please sign in to comment.