You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I noticed that on our CI system the configurator script sometimes fails with this error message:
Downloading https://api.github.com/repos/fluttercommunity/font_awesome_flutter/releases
Unhandled exception:
type '_Map<String, dynamic>' is not a subtype of type 'List<dynamic>'
#0 printVersionNotice (file:///Users/runner/work/1/s/vendor/font_awesome_flutter/font_awesome_flutter/util/lib/main.dart:484:10)
<asynchronous suspension>
#1 main (file:///Users/runner/work/1/s/vendor/font_awesome_flutter/font_awesome_flutter/util/lib/main.dart:96:3)
<asynchronous suspension>
Most of the time, if I re-run everything, it works again. Maybe the GitHub API has an hiccup or something.
But since it's only printing version information, it should not break the build.
Do you think it would be possible to wrap it in a try/catch and simply print something like "Could not determine version information" or something, but not break the build?
The text was updated successfully, but these errors were encountered:
Hey @ManuelRauber, sorry for the long waiting time. printVersionInformation's catch seems to have been too narrow to accommodate for different responses from what was expected. This is fixed with the latest release. Thanks for reporting!
Describe the bug
I noticed that on our CI system the configurator script sometimes fails with this error message:
Most of the time, if I re-run everything, it works again. Maybe the GitHub API has an hiccup or something.
But since it's only printing version information, it should not break the build.
Do you think it would be possible to wrap it in a try/catch and simply print something like "Could not determine version information" or something, but not break the build?
The text was updated successfully, but these errors were encountered: