Add Sentry DSN to .env.example and use computer name as environment

This commit is contained in:
2025-01-26 04:52:52 +01:00
parent 22f7028c1e
commit aec8c55299
4 changed files with 18 additions and 1 deletions

8
tests/conftest.py Normal file
View File

@ -0,0 +1,8 @@
from __future__ import annotations
import os
def pytest_configure() -> None:
"""Ignore Sentry when running tests."""
os.environ["SENTRY_DSN"] = ""