Migrate sentry to webpack

This commit is contained in:
2024-10-13 16:47:33 +02:00
committed by Bartuccio Antoine
parent 1720307c21
commit 361a06e5b3
7 changed files with 146 additions and 19 deletions

View File

@ -750,7 +750,6 @@ if SENTRY_DSN:
SITH_FRONT_DEP_VERSIONS = {
"https://github.com/chartjs/Chart.js/": "2.6.0",
"https://github.com/getsentry/sentry-javascript/": "8.26.0",
"https://github.com/mrdoob/three.js/": "r148",
"https://github.com/vasturiano/three-spritetext": "1.6.5",
"https://github.com/vasturiano/3d-force-graph/": "1.70.19",

View File

@ -71,6 +71,7 @@ if settings.DEBUG:
urlpatterns += [path("__debug__/", include(debug_toolbar.urls))]
if settings.SENTRY_ENV == "development":
"""Sentry debug endpoint
This function always crash and allows us to test