Skip to content

Commit

Permalink
Merge branch 'release' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
abnanda1 committed Jan 4, 2014
2 parents 6e4558e + 6e58e34 commit 30dc639
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Microsoft.AspNet.SignalR.Client.JS/jquery.signalR.hubs.js
Expand Up @@ -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]);
}
};
Expand Down

0 comments on commit 30dc639

Please sign in to comment.