Skip to content

Commit

Permalink
ADD: show collection in errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Gsiete committed Jan 19, 2024
1 parent 714b546 commit 6a87653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/firestore.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export function setListener(firebase, dispatch, queryOpts, successCb, errorCb) {
!!console &&
typeof console.error === 'function' // eslint-disable-line no-console
) {
console.error('redux-firestore listener error:', err); // eslint-disable-line no-console
console.error(`redux-firestore listener error for collection "${meta?.collection}":`, err); // eslint-disable-line no-console
}
dispatch({
type: actionTypes.LISTENER_ERROR,
Expand Down

0 comments on commit 6a87653

Please sign in to comment.