Deprecate throwable logging function, produces bad log

This commit is contained in:
Jobobby04
2021-03-08 19:50:41 -05:00
parent 984956ce95
commit ccdae6bb9a
6 changed files with 12 additions and 9 deletions
@@ -56,7 +56,7 @@ class BatchAddPresenter : BasePresenter<BatchAddController>() {
currentlyAddingRelay.call(STATE_INPUT_TO_PROGRESS)
val handler = CoroutineExceptionHandler { _, throwable ->
xLogE(throwable)
xLogE("Batch add error", throwable)
}
presenterScope.launch(Dispatchers.IO + handler) {
@@ -187,7 +187,7 @@ class BrowserActionActivity : AppCompatActivity() {
suspend fun captchaSolveFail() {
currentLoopId = null
validateCurrentLoopId = null
xLogE(IllegalStateException("Captcha solve failure!"))
xLogE("Captcha solve Error", IllegalStateException("Captcha solve failure!"))
withUIContext {
binding.webview.evaluateJavascript(SOLVE_UI_SCRIPT_HIDE, null)
MaterialDialog(this@BrowserActionActivity)