Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Improve error message when kernel not set#6924

Merged
cbracken merged 1 commit into
flutter-team-archive:masterfrom
cbracken:improve-error-message
Nov 26, 2018
Merged

Improve error message when kernel not set#6924
cbracken merged 1 commit into
flutter-team-archive:masterfrom
cbracken:improve-error-message

Conversation

@cbracken

Copy link
Copy Markdown
Contributor

Pushes the check up front so that we don't always land on the
application_kernel_list_asset error message, which may be misleading to
readers.

Also switches the empty check to only emit in debug builds, since this
is almost certainly not a runtime error but a programmer error.

@cbracken

Copy link
Copy Markdown
Contributor Author

Tweak to #6921.

Pushes the check up front so that we don't always land on the
application_kernel_list_asset error message, which may be misleading to
readers.

Also switches the empty check to only emit in debug builds, since this
is almost certainly not a runtime error but a programmer error.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

3 participants