Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Client error handling is printing out unhelpful message #11

Open
MikeyBurkman opened this issue Jun 1, 2017 · 1 comment
Open

Client error handling is printing out unhelpful message #11

MikeyBurkman opened this issue Jun 1, 2017 · 1 comment

Comments

@MikeyBurkman
Copy link
Contributor

I just ran into this while testing something. I'm getting the following error in the logs: "save to local storage failed msg: [object SQLError] err: undefined". Not super helpful :)

It appears to be coming from this line here. Not quite sure how deep the rabbit hole goes, but somewhere we're A) not propagating the error object in the err parameter, and B) the error is just being toString()'d which loses both the message and stack trace.

@wtrocki
Copy link
Member

wtrocki commented Jun 5, 2017

Problem is related with not properly handling error message.
I think that underlaying problem may be hidden - requested storage may be not available.

Can you provide what init version are you using?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants