Skip to content

Commit

Permalink
chore: use throwable instead of exception
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Fiedler <[email protected]>
  • Loading branch information
izaaz and justin-fiedler authored Jun 10, 2024
1 parent d210ef1 commit 15a870e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/amplitude/api/IdentifyInterceptor.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private JSONObject getTransferIdentifyEvent() {
identifyEvent.getJSONObject("user_properties").put(Constants.AMP_OP_SET, identifyEventUserProperties);
dbHelper.removeIdentifyInterceptors(lastIdentifyInterceptorId);
return identifyEvent;
} catch (Exception e) {
} catch (Throwable e) {
AmplitudeLog.getLogger().w(TAG, "Identify Merge error: " + e.getMessage());
}
return null;
Expand Down

0 comments on commit 15a870e

Please sign in to comment.