File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,6 @@ export async function openUrl(
44
44
45
45
const session = getSession ( ) ;
46
46
47
- console . debug ( 'Platform URL:' , session ?. platform . url ) ;
48
- console . debug ( 'Requested URL:' , url ) ;
49
-
50
47
// Special case for nabook: Do not redirect to responsive but open nabook module
51
48
try {
52
49
if ( session && url . startsWith ( session . platform . url ) && url . endsWith ( 'nabook' ) ) {
@@ -70,11 +67,13 @@ export async function openUrl(
70
67
finalUrl = urlObj . href ;
71
68
}
72
69
}
73
- } catch {
74
- // Do nothing. We just don't have customToken.
70
+ } catch ( e ) {
71
+ console . error ( 'Error getting query param token: ' , e ) ;
75
72
}
76
73
}
77
74
75
+ console . info ( 'Try to redirect to:' , finalUrl ) ;
76
+
78
77
if ( showConfirmation ) {
79
78
Alert . alert (
80
79
customLabels ?. title ?? I18n . get ( 'linking-redirectbrowser-title' ) ,
You can’t perform that action at this time.
0 commit comments