Skip to content

Commit e3bb95f

Browse files
abdelhamid-f-nasserHeshamMegid
authored andcommitted
fix(android): resolve JsonException handling error (#1089)
Jira ID: MOB-13598
1 parent c8aa039 commit e3bb95f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/instabug/reactlibrary/utils/ReportUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public static WritableArray parseConsoleLogs(ArrayList<a> consoleLogs) {
7070
for(int i = 0; i < consoleLogs.size(); i++) {
7171
try {
7272
writableArray.pushString(consoleLogs.get(i).toJson());
73-
} catch (JSONException e) {
73+
} catch (Exception e) {
7474
e.printStackTrace();
7575
}
7676

0 commit comments

Comments
 (0)