mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 11:33:34 +08:00
Fix gitClone exception problem
e.message doesn't exist
This commit is contained in:
@ -379,8 +379,8 @@ class GitHostSetupScreenState extends State<GitHostSetupScreen> {
|
|||||||
String error;
|
String error;
|
||||||
try {
|
try {
|
||||||
await gitClone(_gitCloneUrl, "journal");
|
await gitClone(_gitCloneUrl, "journal");
|
||||||
} catch (e) {
|
} on GitException catch (e) {
|
||||||
error = e.message;
|
error = e.cause;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (error != null && error.isNotEmpty) {
|
if (error != null && error.isNotEmpty) {
|
||||||
|
@ -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.6+10
|
version: 1.1.7+10
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
flutter:
|
flutter:
|
||||||
|
Reference in New Issue
Block a user