Skip to content

Commit

Permalink
ISSUE-639: Don't set stack trace
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikitae57 committed Aug 23, 2024
1 parent fee4923 commit 0955015
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,8 @@ class FailureLoggingProviderImpl(
viewMatcher?.let { message.append("\nView description: ${it.describe()}") }
RuntimeException(message.toString())
}
else -> this
else -> RuntimeException()
}
newError.stackTrace = Thread.currentThread().stackTrace
newError.addSuppressed(this)

return newError
Expand Down

0 comments on commit 0955015

Please sign in to comment.