Skip to content

Commit

Permalink
Bump Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
gdude2002 committed Feb 25, 2024
1 parent 035d7d3 commit 09db8bc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ logging = "6.0.3"
mongodb = "4.11.1"
pf4j = "3.10.0"
semver = "1.4.2"
sentry = "7.3.0"
sentry = "7.4.0"
slf4j = "2.0.12"
time4j-base = "5.9.4"
time4j-tzdata = "5.0-2023b"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -698,14 +698,14 @@ public open class ExtensibleBotBuilder {
* required.
*/
public open var setupCallback: SentryAdapter.() -> Unit = {
this.init {
dsn = dsn
isDebug = debug

dist = distribution
environment = environment
release = release
serverName = serverName
this.init { options ->
options.dsn = dsn
options.isDebug = debug

options.dist = distribution
options.environment = environment
options.release = release
options.serverName = serverName
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public open class SentryAdapter : KordExKoinComponent {
* function instead for brevity. Please see the Sentry documentation for
* information on how to configure it.
*/
public fun init(callback: SentryOptions.() -> Unit) {
public fun init(callback: (SentryOptions) -> Unit) {
Sentry.init(callback)

this._enabled = true
Expand Down

0 comments on commit 09db8bc

Please sign in to comment.