summaryrefslogtreecommitdiff
path: root/plugins/http/handler.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-19 16:47:15 +0300
committerValery Piashchynski <[email protected]>2021-01-19 16:47:15 +0300
commit26f9d35e18ef79d79a5609c6c68f1b6ad38c7aed (patch)
treedd6224660ffd0dcefe2332807203ee1eaf6697b4 /plugins/http/handler.go
parent75ebbaac89ce8ebc3ab8de47b16e137844cfcd8a (diff)
Uniform all errors operations
Add new ExecTTL event Update tests Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/http/handler.go')
-rw-r--r--plugins/http/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/handler.go b/plugins/http/handler.go
index 1c7f79e3..3e21ab2b 100644
--- a/plugins/http/handler.go
+++ b/plugins/http/handler.go
@@ -97,7 +97,7 @@ func (h *Handler) AddListener(l events.Listener) {
// mdwr serve using PSR-7 requests passed to underlying application. Attempts to serve static files first if enabled.
func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
- const op = errors.Op("ServeHTTP")
+ const op = errors.Op("http_plugin_serve_http")
start := time.Now()
// validating request size