add call stack
This commit is contained in:
parent
b07fb2dbd7
commit
9a35ffa014
1 changed files with 2 additions and 1 deletions
|
|
@ -82,8 +82,9 @@ class Application {
|
|||
buildMap = getMapFromYaml(buildContent);
|
||||
break;
|
||||
}
|
||||
} on Exception catch (e) {
|
||||
} on Exception catch (e, stacktace) {
|
||||
await CLI.printString(e.toString(), color: Color.red);
|
||||
await CLI.printString(stacktace.toString(), color: Color.yellow);
|
||||
await printBuildStep('Build Failed', color: Color.red);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue