Catch InvocationTargetException in TrafficRecorder

This commit is contained in:
Mygod
2019-03-12 14:17:49 +08:00
parent f91d36f49b
commit 8255d7b261

View File

@@ -109,7 +109,7 @@ object TrafficRecorder {
} }
else -> check(false) else -> check(false)
} }
} catch (e: RuntimeException) { } catch (e: Exception) {
Timber.w(line) Timber.w(line)
Timber.w(e) Timber.w(e)
} }