diff --git a/lib/screens/githostsetup_screens.dart b/lib/screens/githostsetup_screens.dart index a2364cb9..375ee754 100644 --- a/lib/screens/githostsetup_screens.dart +++ b/lib/screens/githostsetup_screens.dart @@ -379,8 +379,8 @@ class GitHostSetupScreenState extends State { String error; try { await gitClone(_gitCloneUrl, "journal"); - } catch (e) { - error = e.message; + } on GitException catch (e) { + error = e.cause; } if (error != null && error.isNotEmpty) { diff --git a/pubspec.yaml b/pubspec.yaml index f4e105e2..1c4de4ac 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: journal description: A Journaling App Built on top of Git -version: 1.1.6+10 +version: 1.1.7+10 dependencies: flutter: