Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
sentry: package version downgraded to 1.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DonHaul authored and drjova committed Aug 8, 2024
1 parent 40d7fc2 commit ee49892
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
5 changes: 0 additions & 5 deletions backoffice/config/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@
]


def sentry_trigger_error(request):
division_by_zero = 1 / 0 # noqa


if settings.DEBUG:
# This allows the error pages to be debugged during development, just visit
# these url in browser to see how these error pages look like.
Expand All @@ -67,7 +63,6 @@ def sentry_trigger_error(request):
kwargs={"exception": Exception("Page not Found")},
),
path("500/", default_views.server_error),
path("sentry-debug/", sentry_trigger_error),
]

if "debug_toolbar" in settings.INSTALLED_APPS:
Expand Down
14 changes: 5 additions & 9 deletions backoffice/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion backoffice/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ psycopg = {version = "3.1.12", extras = ["c"]}
watchfiles = "0.20.0"
gunicorn = "21.2.0"
Collectfast = "2.2.0"
sentry-sdk = "1.31.0"
django-storages = {version = "1.14.2", extras = ["s3"]}
django-anymail = "10.1"
dj-database-url = "^2.1.0"
Expand All @@ -150,6 +149,7 @@ opensearch-dsl = "^2.1.0"
opensearch-py = "2.6.0"
djangorestframework-simplejwt = "^5.3.1"
django-json-widget = "^2.0.1"
sentry-sdk = "1.19.1"

[tool.poetry.dev-dependencies]
factory-boy = "3.3.0"
Expand Down

0 comments on commit ee49892

Please sign in to comment.