Skip to content

Commit

Permalink
Add error to panic
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitarPetrov committed Aug 21, 2019
1 parent f138807 commit ce4d4bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sm/sm.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func New(ctx context.Context, cancel context.CancelFunc, cfg *config.Settings) (
// Build builds the Service Manager
func (smb *ServiceManagerBuilder) Build() *ServiceManager {
if err := smb.installHealth(); err != nil {
log.C(smb.ctx).Panic()
log.C(smb.ctx).Panic(err)
}

// setup server and add relevant global middleware
Expand Down

0 comments on commit ce4d4bb

Please sign in to comment.