micnews / rpc-http

simple rpc over http
Other
5 stars 0 forks source link

vague error messages #9

Open will123195 opened 9 years ago

will123195 commented 9 years ago

It should show the actual error that occurred in the rpc method instead of this:

Error: Internal XMLHttpRequest Error
kesla commented 9 years ago

When did you get this? Normally it'll give you great errors, this kind this is when there's an error in the http-connection?

will123195 commented 9 years ago

That's what I thought, but I was getting that error due to an invalid sql statement.

will123195 commented 9 years ago

Oh, actually it was a failed assert. So that makes sense. Would be cool to try / catch if possible to catch thrown errors.