Skip to content

API for responding to errors #19

@insin

Description

@insin

I occasionally see this sort of thing being console.warn()-ed when using the Hacker News API, which results in my app displaying a loading indicator until the content in question is deleted or becomes available.

"FIREBASE WARNING: on() or once() for /v0/item/8477507 failed: Error: permission_denied: Client doesn't have permission to access the desired data. "

I can see that it's the Firebase library itself doing it, but it doesn't seem to have an API for error handling - I'd expect to be able to do an on('error', callback) or similar.

I can't pick out a way to catch errors from the minified Firebase code. Is there API for this, or are there any plans to add error handling?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions