add error message to log

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2022-04-20 13:56:27 +02:00
parent f945694a14
commit 454200d797
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B

View File

@ -2050,10 +2050,10 @@ class ChatController(args: Bundle) :
} else { } else {
processMessages(response, false, 0) processMessages(response, false, 0)
} }
} catch (npe: NullPointerException) { } catch (e: NullPointerException) {
// view binding can be null // view binding can be null
// since this is called asynchrously and UI might have been destroyed in the meantime // since this is called asynchrously and UI might have been destroyed in the meantime
Log.i(TAG, "UI destroyed - view binding already gone") Log.i(TAG, "UI destroyed - view binding already gone", e)
} }
} }