Skip to content

Commit

Permalink
Print every exception before sending it across IPC (#32)
Browse files Browse the repository at this point in the history
* fix: Print every exception before sending it across IPC

* fix: Remove unused import
  • Loading branch information
haroldadmin committed Mar 21, 2022
1 parent c395f39 commit dbe12fe
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ internal class WhatTheStackExceptionHandler(
private val defaultHandler: Thread.UncaughtExceptionHandler?,
) : Thread.UncaughtExceptionHandler {
override fun uncaughtException(t: Thread, e: Throwable) {
e.printStackTrace()
val exceptionData = e.process()
serviceMessenger.send(
Message().apply {
Expand Down

0 comments on commit dbe12fe

Please sign in to comment.