GitHostSetup: Abort on exception

Otherwise we land up accessing the 'cloneUrl' of a null object and get
another exception.
This commit is contained in:
Vishesh Handa
2019-06-16 04:24:05 +02:00
parent 1892b727c5
commit 89e868ffdc
2 changed files with 2 additions and 1 deletions

View File

@ -91,6 +91,7 @@ class GitHostSetupAutoConfigureState extends State<GitHostSetupAutoConfigure> {
setState(() { setState(() {
errorMessage = widget.gitHostType.toString() + ": " + e.toString(); errorMessage = widget.gitHostType.toString() + ": " + e.toString();
}); });
return;
} }
widget.onDone(repo.cloneUrl); widget.onDone(repo.cloneUrl);
}); });

View File

@ -1,6 +1,6 @@
name: journal name: journal
description: A Journaling App Built on top of Git description: A Journaling App Built on top of Git
version: 1.1.7+10 version: 1.1.8+10
dependencies: dependencies:
flutter: flutter: