Skip to content

Commit 798303d

Browse files
committed
Fix #252 by catching all errors on configurator latest version check
1 parent 604ff48 commit 798303d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ Future printVersionNotice(String repositoryName) async {
515515
print(yellow(
516516
'A pre-release version ($primaryPreRelease) of font_awesome_flutter is available. Should you encounter any problems, have a look if it fixes them.'));
517517
}
518-
} on FormatException catch (_) {
518+
} catch (_) {
519519
print(red(
520520
'Error while getting font awesome flutter\'s version information. Could not determine whether you are using the latest version.'));
521521
} finally {

0 commit comments

Comments
 (0)