Skip to content

Commit 9e3dc46

Browse files
committed
add IOException
1 parent 1d00373 commit 9e3dc46

File tree

1 file changed

+1
-1
lines changed
  • react-native-mcu-manager/android/src/main/java/uk/co/playerdata/reactnativemcumanager

1 file changed

+1
-1
lines changed

react-native-mcu-manager/android/src/main/java/uk/co/playerdata/reactnativemcumanager/ZipPackage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public ZipPackage(@NonNull final byte[] data) throws IOException {
9292
final byte[] content = getData(zis);
9393
entries.put(name, content);
9494
} else {
95-
Log.v("KT", "les");
95+
throw new IOException("Unsupported file found: " + name);
9696
}
9797
}
9898
}

0 commit comments

Comments
 (0)