TP-80789 | Added alfred API logs
This commit is contained in:
@@ -21,7 +21,9 @@ public class AlfredApiLogsProviderImpl implements AlfredApiLogsProvider {
|
||||
alfredEventProperties.put("requestUrl", String.valueOf(request.url()));
|
||||
alfredEventProperties.put("isSuccess", String.valueOf(response.isSuccessful()));
|
||||
alfredEventProperties.put("message", response.message());
|
||||
alfredEventProperties.put("exception", String.valueOf(e));
|
||||
if (e != null) {
|
||||
alfredEventProperties.put("exception", String.valueOf(e.getMessage()));
|
||||
}
|
||||
PulseManager.INSTANCE.trackEvent("FA_ALFRED_EVENT_API", alfredEventProperties);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user