mirror of
https://github.com/soconnor0919/hristudio.git
synced 2026-03-23 19:27:51 -04:00
feat: introduce conditional steps and branching logic to the experiment wizard and designer, along with new core and WoZ plugins.
This commit is contained in:
@@ -148,7 +148,11 @@ export class WizardRosService extends EventEmitter {
|
||||
console.error("[WizardROS] WebSocket error:", error);
|
||||
clearTimeout(connectionTimeout);
|
||||
this.isConnecting = false;
|
||||
this.emit("error", error);
|
||||
|
||||
// Prevent unhandled error event if no listeners
|
||||
if (this.listenerCount("error") > 0) {
|
||||
this.emit("error", error);
|
||||
}
|
||||
reject(error);
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user