Skip to content

Commit

Permalink
Update lib/src/supabase_auth.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Bruno D'Luka <45696119+bdlukaa@users.noreply.github.com>
  • Loading branch information
dshukertjr and bdlukaa committed Jul 24, 2022
1 parent fd1d3ff commit 2978142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/supabase_auth.dart
Expand Up @@ -122,9 +122,9 @@ class SupabaseAuth with WidgetsBindingObserver {
_instance._initialSessionCompleter.complete(null);
}
return _instance;
} catch (e) {
} catch (error, stacktrace) {
if (!_instance._initialSessionCompleter.isCompleted) {
_instance._initialSessionCompleter.completeError(e);
_instance._initialSessionCompleter.completeError(error, stracktrace);
}
rethrow;
}
Expand Down

0 comments on commit 2978142

Please sign in to comment.