Skip to content

Commit

Permalink
Fix assert
Browse files Browse the repository at this point in the history
  • Loading branch information
mrober committed Aug 22, 2024
1 parent f584b6a commit a2261d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class CrashlyticsWorkers(
private fun checkThread(isCorrectThread: () -> Boolean, failureMessage: () -> String) {
if (!isCorrectThread()) {
Logger.getLogger().d(failureMessage())
assert(enforcement, failureMessage)
assert(!enforcement, failureMessage)
}
}
}
Expand Down

0 comments on commit a2261d8

Please sign in to comment.