Skip to content

Commit

Permalink
Update monkey-patch for Sentry SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
kberzinch committed Nov 14, 2024
1 parent b50297c commit 1609eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ RUN set -eux && \
POETRY_VIRTUALENVS_CREATE=false poetry install --only main --no-root --no-interaction --no-ansi && \
zopfli --gzip -v --i10 /app/static/app.js && \
touch /app/static/app.js.gz /app/static/app.js && \
sed -i 's/return self.request.get_json()/ return self.request.get_json(silent=True)/g' /usr/local/lib/python3.12/site-packages/sentry_sdk/integrations/flask.py
sed -i 's/return self.request.get_json()/ return self.request.get_json(silent=True)/g' /usr/local/lib/python3.13/site-packages/sentry_sdk/integrations/flask.py

USER uwsgi

0 comments on commit 1609eb1

Please sign in to comment.