From 9f1b04634dc474cd640c9febab18ce2a9c399d87 Mon Sep 17 00:00:00 2001 From: "irvingouj @ Devolutions" Date: Thu, 6 Jun 2024 13:02:24 -0400 Subject: [PATCH] fix(web): fix wrong type assertion caused error (#471) --- web-client/iron-remote-gui/src/services/wasm-bridge.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-client/iron-remote-gui/src/services/wasm-bridge.service.ts b/web-client/iron-remote-gui/src/services/wasm-bridge.service.ts index cabaec209..2d1d4cc03 100644 --- a/web-client/iron-remote-gui/src/services/wasm-bridge.service.ts +++ b/web-client/iron-remote-gui/src/services/wasm-bridge.service.ts @@ -191,7 +191,7 @@ export class WasmBridgeService { type: SessionEventType.TERMINATED, data: 'Session was terminated.', }); - return of(err); + throw err; }), map((termination_info: SessionTerminationInfo) => { this.setVisibility(false);