diff --git a/src/main/java/com/amplitude/api/IdentifyInterceptor.java b/src/main/java/com/amplitude/api/IdentifyInterceptor.java index 2728598f..4fc4643c 100644 --- a/src/main/java/com/amplitude/api/IdentifyInterceptor.java +++ b/src/main/java/com/amplitude/api/IdentifyInterceptor.java @@ -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;