Add connector id to the registration error message
Right now it is not clear what connector is failing. It will be easier to debug with more specific error message. Related to #400.
This commit is contained in:
parent
a9d854e144
commit
24134e18ea
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue