You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I call an API (which throws an exception) using breeze's executeQuery method, the errorCallback function is never called.
var eq = new breeze.EntityQuery('TestError'); instance.manager.executeQuery( eq, function(data) { console.log('success') }, function(err) { debugger; });
this is api method
[HttpGet] public void TestError() { throw new Exception("test exception"); }
nor does it work with what is described here (see executeQuery method)
I suppose this is because aurelia-breeze replaces Q with ES6 Promises.
Is it possible to have the errorCallback called anyway? Or am I just doing something wrong?
I am not sure if this has to do with this issue: #44
If so, please feel free to remove this issue.
The text was updated successfully, but these errors were encountered:
If I call an API (which throws an exception) using breeze's executeQuery method, the errorCallback function is never called.
var eq = new breeze.EntityQuery('TestError'); instance.manager.executeQuery( eq, function(data) { console.log('success') }, function(err) { debugger; });
this is api method
[HttpGet] public void TestError() { throw new Exception("test exception"); }
nor does it work with what is described here (see executeQuery method)
I suppose this is because aurelia-breeze replaces Q with ES6 Promises.
Is it possible to have the errorCallback called anyway? Or am I just doing something wrong?
I am not sure if this has to do with this issue:
#44
If so, please feel free to remove this issue.
The text was updated successfully, but these errors were encountered: