From 90053c265fbff78889f7e033792d779a0ad31139 Mon Sep 17 00:00:00 2001 From: toki Date: Tue, 3 Mar 2026 15:44:28 +0900 Subject: [PATCH] =?UTF-8?q?Error=20=EA=B3=84=EC=97=B4=20=EC=98=88=EC=99=B8?= =?UTF-8?q?=EB=8F=84=20catch=ED=95=98=EC=97=AC=20=ED=94=84=EB=A1=9C?= =?UTF-8?q?=EC=84=B8=EC=8A=A4=20=EC=A0=95=EC=83=81=20=EC=A2=85=EB=A3=8C=20?= =?UTF-8?q?=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit on Exception → catch 변경으로 TypeError 등 Error 계열도 동일한 핸들러에서 처리하고 exit(10) 호출되도록 수정. Co-Authored-By: Claude Sonnet 4.6 --- lib/oto/application.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/oto/application.dart b/lib/oto/application.dart index ab9d584..745a5de 100644 --- a/lib/oto/application.dart +++ b/lib/oto/application.dart @@ -119,9 +119,9 @@ class Application { //start build await pipeline.execute(); - } on Exception catch (e, stacktace) { + } catch (e, stacktrace) { await CLI.printString(e.toString(), color: Color.redStrong); - await CLI.printString(stacktace.toString(), color: Color.yellowStrong); + await CLI.printString(stacktrace.toString(), color: Color.yellowStrong); await printBuildStep('Build Failed', Color.redStrong); exit(10); }