forked from mystiq/dex
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
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue