From 16f7479adeb23424bb592915be25a159b53cfca9 Mon Sep 17 00:00:00 2001 From: Adler Parnas Date: Mon, 15 Jun 2015 23:44:28 -0400 Subject: [PATCH] Send error message to client I believe that if you returned an error as a response to a call, you should be able to read the error on the client --- lib/handlers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/handlers.js b/lib/handlers.js index 50c6fa8..2f9925e 100644 --- a/lib/handlers.js +++ b/lib/handlers.js @@ -92,7 +92,7 @@ handlers[WAMP.CALL] = function (session, args) { WAMP.ERROR, WAMP.CALL, callId, - {}, + err, "wamp.error.callee_failure" ]; session.send(msg);