File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/error Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -198,8 +198,8 @@ class ErrorActivity : AppCompatActivity() {
198198 .value(" user_comment" , binding.errorCommentBox.getText().toString())
199199 .end()
200200 .done()
201- } catch (error : Throwable ) {
202- Log .e(TAG , " Error while erroring: Could not build json" , error )
201+ } catch (exception : Exception ) {
202+ Log .e(TAG , " Error while erroring: Could not build json" , exception )
203203 }
204204
205205 return " "
@@ -253,8 +253,8 @@ class ErrorActivity : AppCompatActivity() {
253253 }
254254 append(" <hr>\n " )
255255 }
256- } catch (error : Throwable ) {
257- Log .e(TAG , " Error while erroring: Could not build markdown" , error )
256+ } catch (exception : Exception ) {
257+ Log .e(TAG , " Error while erroring: Could not build markdown" , exception )
258258 return " "
259259 }
260260 }
You can’t perform that action at this time.
0 commit comments