mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Fix error when generating error for polling for updates (#25609)
This commit is contained in:
parent
2d09b826d1
commit
2b31b8d9d8
@ -167,7 +167,7 @@ export default class WebPlatform extends VectorBasePlatform {
|
|||||||
logger.error("Failed to poll for update", err);
|
logger.error("Failed to poll for update", err);
|
||||||
return {
|
return {
|
||||||
status: UpdateCheckStatus.Error,
|
status: UpdateCheckStatus.Error,
|
||||||
detail: err.message || err.status ? err.status.toString() : "Unknown Error",
|
detail: err.message || (err.status ? err.status.toString() : "Unknown Error"),
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user