Let printError be able to print bold also (#9714)

* Let printError print bold as well

* review notes
This commit is contained in:
xster
2017-05-02 22:20:14 -07:00
committed by GitHub
parent 31000ef77e
commit 87d0010adb
5 changed files with 19 additions and 10 deletions

View File

@@ -160,7 +160,7 @@ class AndroidDevice extends Device {
return true;
printError('The ADB at "${getAdbPath(androidSdk)}" is too old; please install version 1.0.32 or later.');
} catch (error, trace) {
printError('Error running ADB: $error', trace);
printError('Error running ADB: $error', stackTrace: trace);
}
return false;