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

Client error handling is printing out unhelpful message #11

Open
@MikeyBurkman

Description

@MikeyBurkman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions