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
Server version: 2.0.0-beta-7
Client version: 2.0.0-beta-7
I am executing a query like this:
try{log("saving...");(hz("table").store(record).subscribe(functionsuccess(result){log("ok => "+show(result));// ... use result here ....},functionfailure(err){log("err => "+show(err));// ... handle error here ...}));}catch(ex){log("boom - error saving record");console.error(ex);}
And I see "saving..." but then no "ok", "err", or "boom" and then get this error uncaught at the top level:
I would expect this to come back in the failure branch of the subscription, or at the very least be able to be handled somehow. The Operation not permitted error is correct -- the thing I am testing that is causing this error is trying to create to items with the same primary key -- it's correctly failing the second one but I of course want to be able to handle this and gracefully report to the user that the key is already taken.
The text was updated successfully, but these errors were encountered:
Server version: 2.0.0-beta-7
Client version: 2.0.0-beta-7
I am executing a query like this:
And I see "saving..." but then no "ok", "err", or "boom" and then get this error uncaught at the top level:
NB. None of that is code that is in my control.
I would expect this to come back in the failure branch of the subscription, or at the very least be able to be handled somehow. The
Operation not permitted
error is correct -- the thing I am testing that is causing this error is trying to create to items with the same primary key -- it's correctly failing the second one but I of course want to be able to handle this and gracefully report to the user that the key is already taken.The text was updated successfully, but these errors were encountered: