We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 45e5f78 + 17d36e0 commit ef701acCopy full SHA for ef701ac
1 file changed
run.py
@@ -1,13 +1,12 @@
1
import sentry_sdk
2
3
from gitlab2sentry import Gitlab2Sentry
4
-from gitlab2sentry.resources import SENTRY_DSN, SENTRY_ENV
5
-
+from gitlab2sentry.resources import settings
6
if __name__ == "__main__":
7
sentry_sdk.init( # type: ignore
8
debug=False,
9
- dsn=SENTRY_DSN,
10
- environment=SENTRY_ENV,
+ dsn=settings.sentry_dsn,
+ environment=settings.sentry_env,
11
)
12
runner = Gitlab2Sentry()
13
runner.update()
0 commit comments