mirror of
https://github.com/rommapp/romm.git
synced 2026-01-30 01:52:02 +08:00
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.
10 lines
190 B
Python
10 lines
190 B
Python
from __version__ import __version__
|
|
|
|
|
|
def get_version() -> str:
|
|
"""Returns current version tag"""
|
|
if __version__ != "<version>":
|
|
return __version__
|
|
|
|
return "development"
|