pass error through

This commit is contained in:
Daniel Lugo 2020-01-28 22:13:03 -04:00
parent 0f208f0948
commit b72604075f

View file

@ -1086,7 +1086,7 @@ class Mediator {
} catch (err) { } catch (err) {
this.socket.emit(Action.DISCONNECT, { this.socket.emit(Action.DISCONNECT, {
ok: false, ok: false,
msg: null, msg: err.message,
origBody: body origBody: body
}) })
} }