Update sentry.

This commit is contained in:
retoor 2025-08-06 11:51:58 +02:00
parent fcd91b4321
commit 3759306e38
2 changed files with 10 additions and 1 deletions

View File

@ -39,7 +39,8 @@ dependencies = [
"Pillow",
"pillow-heif",
"IP2Location",
"bleach"
"bleach",
"sentry-sdk"
]
[tool.setuptools.packages.find]

View File

@ -9,6 +9,8 @@ from snek.shell import Shell
from snek.app import Application
@click.group()
def cli():
pass
@ -122,6 +124,12 @@ def shell(db_path):
Shell(db_path).run()
def main():
try:
import sentry_sdk
sentry_sdk.init("https://ab6147c2f3354c819768c7e89455557b@gt.molodetz.nl/1")
except ImportError:
print("Could not import sentry_sdk")
cli()