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(
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' ) ,
You can’t perform that action at this time.
0 commit comments