From 1609eb1cf26a7409b6d3f374260d907705da21a5 Mon Sep 17 00:00:00 2001 From: Kristaps Berzinch Date: Wed, 13 Nov 2024 20:24:03 -0500 Subject: [PATCH] Update monkey-patch for Sentry SDK --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 710bc8e..a61f0bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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