Update sentry.
This commit is contained in:
parent
fcd91b4321
commit
3759306e38
@ -39,7 +39,8 @@ dependencies = [
|
||||
"Pillow",
|
||||
"pillow-heif",
|
||||
"IP2Location",
|
||||
"bleach"
|
||||
"bleach",
|
||||
"sentry-sdk"
|
||||
]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
|
@ -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()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user