diff --git a/src/libs/asyncOpenURL/index.ts b/src/libs/asyncOpenURL/index.ts index 77b560f54eff..5aff101933af 100644 --- a/src/libs/asyncOpenURL/index.ts +++ b/src/libs/asyncOpenURL/index.ts @@ -12,7 +12,7 @@ const asyncOpenURL: AsyncOpenURL = (promise, url) => { Linking.openURL(typeof url === 'string' ? url : url(params)); }) .catch(() => { - Log.warn('[asyncOpenURL] Promise rejected, not opening URL', {url}); + Log.warn('[asyncOpenURL] error occured while opening URL', {url}); }); }; diff --git a/src/libs/asyncOpenURL/index.website.ts b/src/libs/asyncOpenURL/index.website.ts index 08cb4b4109b2..4f6d95b76b8b 100644 --- a/src/libs/asyncOpenURL/index.website.ts +++ b/src/libs/asyncOpenURL/index.website.ts @@ -19,7 +19,7 @@ const asyncOpenURL: AsyncOpenURL = (promise, url, shouldSkipCustomSafariLogic) = Linking.openURL(typeof url === 'string' ? url : url(params)); }) .catch(() => { - Log.warn('[asyncOpenURL] Promise rejected, not opening URL', {url}); + Log.warn('[asyncOpenURL] error occured while opening URL', {url}); }); } else { const windowRef = window.open(); @@ -32,7 +32,7 @@ const asyncOpenURL: AsyncOpenURL = (promise, url, shouldSkipCustomSafariLogic) = }) .catch(() => { windowRef?.close(); - Log.warn('[asyncOpenURL] Promise rejected, not opening URL', {url}); + Log.warn('[asyncOpenURL] error occured while opening URL', {url}); }); } };