diff --git a/android/capacitor/src/main/java/com/getcapacitor/WebViewLocalServer.java b/android/capacitor/src/main/java/com/getcapacitor/WebViewLocalServer.java index 6e5d1049c..b0e4c26a3 100755 --- a/android/capacitor/src/main/java/com/getcapacitor/WebViewLocalServer.java +++ b/android/capacitor/src/main/java/com/getcapacitor/WebViewLocalServer.java @@ -184,6 +184,7 @@ public WebResourceResponse shouldInterceptRequest(WebResourceRequest request) { return handleCapacitorHttpRequest(request); } catch (Exception e) { Logger.error(e.getLocalizedMessage()); + return null; } }