Commit 24134e18 authored by Alexandr Burdiyan's avatar Alexandr Burdiyan

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.
parent a9d854e1
......@@ -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)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment