Skip to content

Commit

Permalink
fix: catch all exceptions when trying to intercept identifies
Browse files Browse the repository at this point in the history
  • Loading branch information
izaaz committed Jun 10, 2024
1 parent 330c675 commit d210ef1
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 (JSONException e) {
} catch (Exception e) {
AmplitudeLog.getLogger().w(TAG, "Identify Merge error: " + e.getMessage());
}
return null;
Expand Down

0 comments on commit d210ef1

Please sign in to comment.