diff --git a/src/providers/sites.ts b/src/providers/sites.ts index 9588a3e60..d97901828 100644 --- a/src/providers/sites.ts +++ b/src/providers/sites.ts @@ -492,6 +492,9 @@ export class CoreSitesProvider { } return data; + }, (error) => { + // Local mobile check returned an error. This only happens if the plugin is installed and it returns an error. + return rejectWithCriticalError(error); }).then((data) => { siteUrl = temporarySite.getURL();