File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
_flutterfire_internals/lib/src
cloud_firestore/cloud_firestore/example/integration_test Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ FirebaseException platformExceptionToFirebaseException(
46
46
String message = platformException.message ?? '' ;
47
47
48
48
if (details != null ) {
49
+ print ('platformException.code: ${platformException .code }' );
50
+ print ('platformException.details: ${platformException .details }' );
51
+ print ('platformException.message: ${platformException .message }' );
52
+
49
53
code = (details['code' ] as String ? ) ?? code;
50
54
51
55
if ((code? .compareTo ('not-found' ) == 0 ) && message.contains ('NOT_FOUND:' )) {
Original file line number Diff line number Diff line change @@ -532,8 +532,11 @@ void runDocumentReferenceTests() {
532
532
// 'Some requested document was not found'
533
533
expect (
534
534
e,
535
- isA <FirebaseException >().having ((e) => e.message, 'message' ,
536
- isNot (contains ('Some requested document was not found' ))),
535
+ isA <FirebaseException >().having (
536
+ (e) => e.message,
537
+ 'message' ,
538
+ isNot (contains ('Some requested document was not found' )),
539
+ ),
537
540
);
538
541
}
539
542
},
You can’t perform that action at this time.
0 commit comments