Fix gitClone exception problem

e.message doesn't exist
This commit is contained in:
Vishesh Handa
2019-06-08 17:39:17 +02:00
parent 9cf0b9ad48
commit 8059efcc4e
2 changed files with 3 additions and 3 deletions

View File

@ -379,8 +379,8 @@ class GitHostSetupScreenState extends State<GitHostSetupScreen> {
String error;
try {
await gitClone(_gitCloneUrl, "journal");
} catch (e) {
error = e.message;
} on GitException catch (e) {
error = e.cause;
}
if (error != null && error.isNotEmpty) {

View File

@ -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: