Skip to content

Commit

Permalink
Change log level from panicf to errorf so that all services can be sh…
Browse files Browse the repository at this point in the history
…utdown (#7600)
  • Loading branch information
prestonvanloon committed Oct 21, 2020
1 parent e4e8dd4 commit 70d923c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/service_registry.go
Expand Up @@ -54,7 +54,7 @@ func (s *ServiceRegistry) StopAll() {
kind := s.serviceTypes[i]
service := s.services[kind]
if err := service.Stop(); err != nil {
log.Panicf("Could not stop the following service: %v, %v", kind, err)
log.WithError(err).Errorf("Could not stop the following service: %v", kind)
}
}
}
Expand Down

0 comments on commit 70d923c

Please sign in to comment.