strongloop / strong-remoting

Communicate between objects in servers, mobile apps, and other servers.
www.strongloop.com
Other
105 stars 93 forks source link

Do not call "afterError" on success #283

Closed bajtos closed 8 years ago

bajtos commented 8 years ago

Fix RemoteObjects.prototype.invokeMethodInContext to trigger afterError hooks only when there was an invocation error.

This bug was introduced recently by #279.