From f3fac4f89ab45c1aaf3762f8c811d4a27737fb62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarom=C3=ADr=20Wysoglad?= Date: Sat, 18 Mar 2023 02:55:03 +0100 Subject: [PATCH] Specify handler name in handler config error msg (#109) --- cmd/manager/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/manager/manager.go b/cmd/manager/manager.go index 80debc5c..b81515d5 100644 --- a/cmd/manager/manager.go +++ b/cmd/manager/manager.go @@ -163,7 +163,7 @@ func SetTransportHandlers(name string, handlerBlocks []struct { err = h.Config(configBlob) if err != nil { - return err + return errors.Wrapf(err, "failed configuring handler plugin '%s'", block.Name) } handlers[name] = append(handlers[name], h)