Fix a regression introduced in 1646bbbe that prevented remote errors to propagate to the calling client
This commit is contained in:
1 parent
5d9dd82a7d
commit
fb3aeaf813
1 file changed
+1
@@ -258,6 +258,7 @@ class SocketlibSocket {
|
|||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
console.error(`An exception occured while executing handler '${name}'.`);
|
console.error(`An exception occured while executing handler '${name}'.`);
|
||||||
|
this._sendError(id, MESSAGE_TYPES.EXCEPTION);
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
this._sendResult(id, result);
|
this._sendResult(id, result);
|
||||||
|
|||||||
Reference in new issue
Block a user