From 9a35ffa01441eb2d28c84468e02c5da57f189a45 Mon Sep 17 00:00:00 2001 From: "leedongmyung[desktop]" Date: Sat, 18 Nov 2023 15:36:19 +0900 Subject: [PATCH] add call stack --- lib/oto/application.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/oto/application.dart b/lib/oto/application.dart index 7539912..07bca82 100644 --- a/lib/oto/application.dart +++ b/lib/oto/application.dart @@ -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; }