diff --git a/android/src/main/java/com/tflite/TfliteModule.java b/android/src/main/java/com/tflite/TfliteModule.java index 62536249f..d6615e5a4 100644 --- a/android/src/main/java/com/tflite/TfliteModule.java +++ b/android/src/main/java/com/tflite/TfliteModule.java @@ -97,7 +97,8 @@ public static byte[] fetchByteDataFromUrl(String url) throws Exception { } } else { // It's a bird? it's a plane? not it's an error - throw new Exception("Input is neither a valid URL, nor a resourceId - cannot load TFLite model!"); + throw new Exception("Input is neither a valid URL, nor a resourceId - " + + "cannot load TFLite model! (Input: " + url + ")"); } }