Closed oliverbytes closed 7 years ago
Thanks for reporting! I'll have a look into it when I get a chance. :+1:
@NemOry Having had a chance to try this, it's failing as expected and I can't replicate your bug. If I do a console.log(error)
inside the .catch
it logs out the error and a stack trace.
Hi Luke,
You're right. It works now in my side too. It was weird the other day. I'll report again whenever I find another issue. Thanks a lot for this great library. It's really useful for me and to everybody else...
For example, I will call an undefined function. It jumps to the catch event, but the error object is an empty object. but if there's a MySQL error the error object is not empty.