diff --git a/app/utils/log/index.js b/app/utils/log/index.js index 7920e608..ea00ca32 100644 --- a/app/utils/log/index.js +++ b/app/utils/log/index.js @@ -20,8 +20,12 @@ export const logServerVersion = (serverVersion) => { }; export const logEvent = (eventName, payload) => { - analytics().logEvent(eventName, payload); - leaveBreadcrumb(eventName, payload); + try { + analytics().logEvent(eventName, payload); + leaveBreadcrumb(eventName, payload); + } catch { + // Do nothing + } }; export const setCurrentScreen = (currentScreen) => {