We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e09de96 commit d3d80d3Copy full SHA for d3d80d3
src/providers/sites.ts
@@ -710,6 +710,13 @@ export class CoreSitesProvider {
710
}
711
712
return this.treatInvalidAppVersion(result, siteUrl);
713
+ }).catch((error) => {
714
+ // Error invaliddevice is returned by Workplace server meaning the same as connecttoworkplaceapp.
715
+ if (error && error.errorcode == 'invaliddevice') {
716
+ return this.treatInvalidAppVersion(this.WORKPLACE_APP, siteUrl);
717
+ }
718
+
719
+ return Promise.reject(error);
720
});
721
722
0 commit comments