Merge pull request #461 from burdiyan/400-better-errors-connectors

#400 Add connector id to the registration error message
This commit is contained in:
Eric Chiang 2016-06-09 09:56:03 -07:00
commit 9739b6e966

View file

@ -191,7 +191,7 @@ func main() {
for _, cfg := range cfgs {
cfg := cfg
if err = srv.AddConnector(cfg); err != nil {
log.Fatalf("Failed registering connector: %v", err)
log.Fatalf("Failed registering connector '%s': %v", cfg.ConnectorID(), err)
}
}