From fb3aeaf8139491dda17e80113dfb795c59172ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20V=C3=B6gele?= Date: Tue, 27 Apr 2021 09:33:19 +0200 Subject: [PATCH] Fix a regression introduced in 1646bbbe that prevented remote errors to propagate to the calling client --- src/socketlib.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/socketlib.js b/src/socketlib.js index 570915b..438e389 100644 --- a/src/socketlib.js +++ b/src/socketlib.js @@ -258,6 +258,7 @@ class SocketlibSocket { } catch (e) { console.error(`An exception occured while executing handler '${name}'.`); + this._sendError(id, MESSAGE_TYPES.EXCEPTION); throw e; } this._sendResult(id, result);