From 9c3667b51fa9fe8182314c32775638748fa51524 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 17 Oct 2017 11:30:08 +0200 Subject: [PATCH] Include HTTP method in bugsnag report --- pillar/bugsnag_extra.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pillar/bugsnag_extra.py b/pillar/bugsnag_extra.py index 9c4faae2..72d21418 100644 --- a/pillar/bugsnag_extra.py +++ b/pillar/bugsnag_extra.py @@ -41,6 +41,7 @@ def add_pillar_request_to_notification(notification): remote_addr = f'{forwarded_for} (proxied via {remote_addr})' notification.add_tab("request", { + "method": request.method, "url": request.base_url, "headers": dict(request.headers), "params": dict(request.form),