Skip to content

Commit 37b0509

Browse files
committed
Squashed commit of the following:
commit c690465 Author: thegdz <guillaume.droulez@mac.com> Date: Tue Sep 2 16:54:26 2025 +0200 chore(debug): review log statements in openUrl
1 parent 5e1482d commit 37b0509

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/framework/util/linking.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ export async function openUrl(
4444

4545
const session = getSession();
4646

47-
console.debug('Platform URL:', session?.platform.url);
48-
console.debug('Requested URL:', url);
49-
5047
// Special case for nabook: Do not redirect to responsive but open nabook module
5148
try {
5249
if (session && url.startsWith(session.platform.url) && url.endsWith('nabook')) {
@@ -70,11 +67,13 @@ export async function openUrl(
7067
finalUrl = urlObj.href;
7168
}
7269
}
73-
} catch {
74-
// Do nothing. We just don't have customToken.
70+
} catch (e) {
71+
console.error('Error getting query param token: ', e);
7572
}
7673
}
7774

75+
console.info('Try to redirect to:', finalUrl);
76+
7877
if (showConfirmation) {
7978
Alert.alert(
8079
customLabels?.title ?? I18n.get('linking-redirectbrowser-title'),

0 commit comments

Comments
 (0)