Skip to content

Commit 256e179

Browse files
committed
fix: Typo in _wsgi
Fix #166
1 parent 30f339d commit 256e179

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sentry_sdk/integrations/_wsgi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def __iter__(self):
197197
try:
198198
self._iterator = iter(self._response)
199199
except Exception:
200-
reraise(*_capture_exception(self.hub))
200+
reraise(*_capture_exception(self._hub))
201201
return self
202202

203203
def __next__(self):
@@ -209,7 +209,7 @@ def __next__(self):
209209
except StopIteration:
210210
raise
211211
except Exception:
212-
reraise(*_capture_exception(self.hub))
212+
reraise(*_capture_exception(self._hub))
213213

214214
def close(self):
215215
if not self._popped:
@@ -221,7 +221,7 @@ def close(self):
221221
except AttributeError:
222222
pass
223223
except Exception:
224-
reraise(*_capture_exception(self.hub))
224+
reraise(*_capture_exception(self._hub))
225225

226226

227227
def _make_wsgi_event_processor(environ):

0 commit comments

Comments
 (0)