Skip to content

Commit 0cbf62f

Browse files
update
1 parent 408255f commit 0cbf62f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry_sdk/integrations/_wsgi_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def json(self) -> "Optional[Any]":
178178

179179
try:
180180
raw_data = self.raw_data()
181-
except (RawPostDataException, ValueError):
181+
except _RAW_DATA_EXCEPTIONS:
182182
# The body might have already been read, in which case this will
183183
# fail
184184
raw_data = None

0 commit comments

Comments
 (0)