diff --git a/src/common/cluster/cluster.ts b/src/common/cluster/cluster.ts index c8e7e69e90..c68fd41c8a 100644 --- a/src/common/cluster/cluster.ts +++ b/src/common/cluster/cluster.ts @@ -560,6 +560,8 @@ export class Cluster implements ClusterModel { const message = String(error.error || error.message) || String(error); this.broadcastConnectUpdate(message, true); + } else if (error instanceof Error || typeof error === "string") { + this.broadcastConnectUpdate(`${error}`, true); } else { this.broadcastConnectUpdate("Unknown error has occurred", true); }