rommapp_romm/backend/utils/__init__.py
Michael Manganiello 7dc7eea34d
feat: Initial Sentry support
This change initializes the Sentry SDK, which enables error tracking
when the `SENTRY_DSN` environment variable is set.

Drop-in alternatives to Sentry are also supported, like GlitchTip.
2024-12-27 17:03:45 -03:00

10 lines
190 B
Python

from __version__ import __version__
def get_version() -> str:
"""Returns current version tag"""
if __version__ != "<version>":
return __version__
return "development"