Skip to content

Commit deb7a35

Browse files
committed
refactor: log problems verifying app with apns on ios
1 parent 34e4921 commit deb7a35

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/firebase_dart_flutter/lib/src/auth_handlers.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,10 @@ class FlutterApplicationVerifier extends BaseApplicationVerifier {
207207
isSandbox: !kReleaseMode)
208208
.timeout(defaultTimeout);
209209

210-
return completer.future.timeout(timeout);
211-
} catch (e) {
210+
return await completer.future.timeout(timeout);
211+
} catch (e, tr) {
212+
Logger('FlutterApplicationVerifier')
213+
.warning('Failed verifying with APNS', e, tr);
212214
return null;
213215
}
214216
}

0 commit comments

Comments
 (0)