From 5d22c1635d40656bed5b8d1a9564bc236fecb19c Mon Sep 17 00:00:00 2001 From: Tit Petric Date: Sat, 22 Jul 2023 22:08:45 +0200 Subject: [PATCH] Revert logging change (replace error) --- gateway/event_handler_webhooks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/event_handler_webhooks.go b/gateway/event_handler_webhooks.go index e1cf190c4dc5..259f0adcea32 100644 --- a/gateway/event_handler_webhooks.go +++ b/gateway/event_handler_webhooks.go @@ -96,7 +96,7 @@ func (w *WebHookHandler) Init(handlerConf interface{}) error { log.WithFields(logrus.Fields{ "prefix": "webhooks", "target": w.conf.TargetPath, - }).Info("Loading default htmlTemplate.") + }).Info("Loading default template.") defaultPath := filepath.Join(w.Gw.GetConfig().TemplatePath, "default_webhook.json") w.template, err = htmlTemplate.ParseFiles(defaultPath) if err != nil {