From ca4d3704ff014365fa00ac0da2f9e2d6d47a24f7 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Wed, 31 Jan 2024 11:20:17 +0100 Subject: [PATCH] Update TfliteModule.java --- android/src/main/java/com/tflite/TfliteModule.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 + ")"); } }