diff --git a/lib/oauthapp.dart b/lib/oauthapp.dart index fdbb44b3..1a392bc6 100644 --- a/lib/oauthapp.dart +++ b/lib/oauthapp.dart @@ -20,8 +20,12 @@ class OAuthAppState extends State { super.initState(); githost = createGitHost(GitHostType.GitHub); - githost.init(() { - print("GitHost initialized and has access code"); + githost.init((GitHostException e) { + if (e != null) { + print("Got exeception: $e"); + } else { + print("GitHost initialized and has access code"); + } }); }