MOBILE-4173 core: Fix IAB opened by mistake in openOnlineFile

main
Dani Palou 2024-01-29 15:06:47 +01:00
parent 984e50323a
commit 1143d4d695
1 changed files with 2 additions and 0 deletions

View File

@ -1230,6 +1230,8 @@ export class CoreUtilsProvider {
type: CoreAnalyticsEventType.OPEN_LINK,
link: CoreUrlUtils.unfixPluginfileURL(url),
});
return;
} catch (error) {
this.logger.error('Error opening online file ' + url + ' with mimetype ' + mimetype);
this.logger.error('Error: ', JSON.stringify(error));