diff --git a/runtime/src/main/kotlin/dev/schlaubi/musicbot/core/Bot.kt b/runtime/src/main/kotlin/dev/schlaubi/musicbot/core/Bot.kt index c57cab07d..07b12cd02 100644 --- a/runtime/src/main/kotlin/dev/schlaubi/musicbot/core/Bot.kt +++ b/runtime/src/main/kotlin/dev/schlaubi/musicbot/core/Bot.kt @@ -99,11 +99,11 @@ class Bot(repos: List) : KordExKoinComponent, PluginContext { sentry { enable = Config.ENVIRONMENT.useSentry pingInReply = false + dsn = Config.SENTRY_TOKEN val sentryExtensions = pluginSystem.getExtensions() setupCallback = { init { - dsn = Config.SENTRY_TOKEN for (extension in sentryExtensions) { with(extension) { it.setup()