Skip to content

Commit

Permalink
Manage cast exception on information detail page.
Browse files Browse the repository at this point in the history
  • Loading branch information
vertigo17 committed Oct 8, 2024
1 parent dfa91eb commit 9f27005
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ public int compare(JSONObject a, JSONObject b) {
}
} catch (JSONException ex) {
LOG.error("Exception on JSON Parse.", ex);
} catch (ClassCastException ex) {
return 1;
}

} else {
Expand Down

0 comments on commit 9f27005

Please sign in to comment.