Skip to content

Commit

Permalink
Added clearer configuration error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcc007 committed Feb 5, 2019
1 parent 468cdf2 commit 3ba31c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Config {
}
if (!emulatorInstalled) {
stderr.write(
'error: emulator not installed for device \'$device\' in $configPath.\n');
'configuration error: emulator not installed for device \'$device\' in $configPath.\n');
stdout.write(
'missing emulator: install the missing emulator or use a device '
'with an existing emulator in $configPath.\n');
Expand All @@ -60,7 +60,7 @@ class Config {
});
if (!simulatorInstalled) {
stderr.write(
'error: simulator not installed for device \'$device\' in $configPath.\n');
'configuration error: simulator not installed for device \'$device\' in $configPath.\n');
stdout.write(
'missing simulator: install the missing simulator or use an existing '
'simulator for device in $configPath.\n');
Expand All @@ -82,7 +82,7 @@ class Config {
void screenAvailable(Map devices, String deviceName) {
if (Devices().screen(devices, deviceName) == null) {
stderr.write(
'error: screen not found for device \'$deviceName\' in $configPath.\n');
'configuration error: screen not found for device \'$deviceName\' in $configPath.\n');
stdout.write(
'missing screen: use a supported device in $configPath. If device '
'is required, request screen support by creating an issue in '
Expand Down

0 comments on commit 3ba31c9

Please sign in to comment.