Fix error when generating error for polling for updates (#25609)
parent
2d09b826d1
commit
2b31b8d9d8
|
@ -167,7 +167,7 @@ export default class WebPlatform extends VectorBasePlatform {
|
|||
logger.error("Failed to poll for update", err);
|
||||
return {
|
||||
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