mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 11:51:38 +08:00
print error
This commit is contained in:
@@ -250,7 +250,7 @@ export class Pushy {
|
|||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
this.report({
|
this.report({
|
||||||
type: 'errorChecking',
|
type: 'errorChecking',
|
||||||
message: 'Can not connect to update server. Trying backup endpoints.',
|
message: `Can not connect to update server: ${e.message}. Trying backup endpoints.`,
|
||||||
});
|
});
|
||||||
const backupEndpoints = await this.getBackupEndpoints();
|
const backupEndpoints = await this.getBackupEndpoints();
|
||||||
if (backupEndpoints) {
|
if (backupEndpoints) {
|
||||||
|
Reference in New Issue
Block a user