add call stack

This commit is contained in:
leedongmyung[desktop] 2023-11-18 15:36:19 +09:00
parent b07fb2dbd7
commit 9a35ffa014

View file

@ -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;
}