You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In firestore/bulkwriter.go, we saw methods of BulkWriter including Create, Delete, Set, and Update. They do not throw the error returned by newXXXWrites. The error itself is replaced by fmt.Errorf("firestore: cannot XXX doc %v", doc.ID), which cost us time to trace out what really happened inside these operations.
Expected behavior
The error itself should be either wrapped or directly returned.
Actual behavior
It is replaced by an almost useless error message.
The text was updated successfully, but these errors were encountered:
Client
Firestore
Code
In firestore/bulkwriter.go, we saw methods of BulkWriter including Create, Delete, Set, and Update. They do not throw the error returned by newXXXWrites. The error itself is replaced by fmt.Errorf("firestore: cannot XXX doc %v", doc.ID), which cost us time to trace out what really happened inside these operations.
Expected behavior
The error itself should be either wrapped or directly returned.
Actual behavior
It is replaced by an almost useless error message.
The text was updated successfully, but these errors were encountered: