Skip to content

Commit

Permalink
chore(android): add captureMessage to ErrorReporting module
Browse files Browse the repository at this point in the history
  • Loading branch information
autoreleasefool committed Jul 30, 2024
1 parent e69104f commit c6b5062
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ package ca.josephroque.bowlingcompanion.core.error

interface ErrorReporting {
fun captureException(throwable: Throwable)
fun captureMessage(message: String)
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ class SentryErrorReporting @Inject constructor() : ErrorReporting {
override fun captureException(throwable: Throwable) {
Sentry.captureException(throwable)
}

override fun captureMessage(message: String) {
Sentry.captureMessage(message)
}
}

0 comments on commit c6b5062

Please sign in to comment.