diff --git a/src/Microsoft.AspNet.SignalR.Client.JS/jquery.signalR.hubs.js b/src/Microsoft.AspNet.SignalR.Client.JS/jquery.signalR.hubs.js index 0d630befce..73e6a8a8bb 100644 --- a/src/Microsoft.AspNet.SignalR.Client.JS/jquery.signalR.hubs.js +++ b/src/Microsoft.AspNet.SignalR.Client.JS/jquery.signalR.hubs.js @@ -186,9 +186,11 @@ error = signalR._.error(result.Error, source); error.data = result.ErrorData; + connection.log(that.hubName + "." + methodName + " failed to execute. Error: " + error.message); d.rejectWith(that, [error]); } else { // Server invocation succeeded, resolve the deferred + connection.log("Invoked " + that.hubName + "." + methodName); d.resolveWith(that, [result.Result]); } };