Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Database onValue does not call onError callback #365

Closed
VickyBOSS opened this issue Dec 6, 2020 · 2 comments
Closed

Database onValue does not call onError callback #365

VickyBOSS opened this issue Dec 6, 2020 · 2 comments
Labels
More information needed Waiting for information from the person who files the issue

Comments

@VickyBOSS
Copy link

VickyBOSS commented Dec 6, 2020

Database onValue does not call onError callback

fb .database() .ref("uwallets/nNcVBqsWfaY66ixRQxbwa5sXXHE3") .onChildChanged .listen((event) { logger.d("EVENT"); }, onError: (err) { // NEVERRRRRRRR prints logger.e("ERROR"); });

@kevmoo
Copy link
Contributor

kevmoo commented Dec 16, 2020

Looking at https://firebase.google.com/docs/reference/js/firebase.database.Query#on there is no option to provide an event handler here.

What type of error are you missing?
Can you give an example of how to trigger an error so I could create a test?

@kevmoo kevmoo added the More information needed Waiting for information from the person who files the issue label Dec 16, 2020
@no-response
Copy link

no-response bot commented Dec 30, 2020

Without additional information we're not able to resolve this issue, so it will be closed at this time. You're still free to add more info and respond to any questions above, though. We'll reopen the case if you do. Thanks for your contribution!

@no-response no-response bot closed this as completed Dec 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
More information needed Waiting for information from the person who files the issue
Projects
None yet
Development

No branches or pull requests

2 participants