Skip to content

Commit

Permalink
Add module name to error message
Browse files Browse the repository at this point in the history
  • Loading branch information
madhuravi committed Mar 6, 2017
1 parent cbef598 commit a05a261
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion service/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,10 @@ func (s *manager) startModules() []error {
}
case <-time.After(defaultStartupWait):
lock.Lock()
results = append(results, fmt.Errorf("module didn't start after %v", defaultStartupWait))
results = append(
results,
fmt.Errorf("module: %s didn't start after %v", m.Name(), defaultStartupWait),
)
lock.Unlock()
}
}
Expand Down

0 comments on commit a05a261

Please sign in to comment.