logging the exiting application

This commit is contained in:
Vladimir Avtsenov 2024-10-20 22:44:54 +03:00
parent b0e537ba6c
commit 29d0dbff25

View File

@ -45,6 +45,7 @@ func main() {
for _, err = range appErrs {
log.Error().Err(err).Msg("failed to start application")
}
log.Info().Msg("exiting application")
return
case <-c:
log.Info().Msg("shutting down service")