We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c931b4 commit 294dc20Copy full SHA for 294dc20
bugsnag/delivery.py
@@ -55,7 +55,7 @@ class Delivery:
55
def __init__(self):
56
self.sent_session_warning = False
57
58
- def deliver(self, config, payload: Any, options={}):
+ def deliver(self, config, payload: Any, options=None):
59
"""
60
Sends error reports to Bugsnag
61
@@ -98,8 +98,9 @@ def safe_request():
98
99
100
class UrllibDelivery(Delivery):
101
-
102
+ if options is None:
103
+ options = {}
104
105
def request():
106
uri = options.pop('endpoint', config.endpoint)
@@ -136,8 +137,9 @@ def request():
136
137
138
139
class RequestsDelivery(Delivery):
140
141
142
143
144
145
0 commit comments