mirror of
https://github.com/home-assistant/android
synced 2024-09-06 17:23:32 +00:00
Expand the error so its more meaningful (#2794)
This commit is contained in:
parent
e7dcdacda0
commit
ae0f788bb4
|
@ -313,7 +313,7 @@ class WebViewActivity : BaseActivity(), io.homeassistant.companion.android.webvi
|
|||
request: WebResourceRequest?,
|
||||
errorResponse: WebResourceResponse?
|
||||
) {
|
||||
Log.e(TAG, "onReceivedHttpError: $errorResponse")
|
||||
Log.e(TAG, "onReceivedHttpError: ${errorResponse?.statusCode} : ${errorResponse?.reasonPhrase} for: ${request?.url}")
|
||||
if (request?.url.toString() == loadedUrl) {
|
||||
showError()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue