-
Notifications
You must be signed in to change notification settings - Fork 407
Closed
Labels
Description
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?