From 1799a8e6c93f80b0979242640beb7dbcdeebb9d3 Mon Sep 17 00:00:00 2001 From: seiya <20365512+seiyab@users.noreply.github.com> Date: Wed, 18 Feb 2026 13:41:03 +0000 Subject: [PATCH] print error message on error in install script --- install.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.ts b/install.ts index 51b3dad..b48b8f5 100644 --- a/install.ts +++ b/install.ts @@ -227,6 +227,9 @@ const main = async () => { "After adding it, please restart your terminal to apply the changes." ); } catch (error) { + if (error instanceof Error) { + console.error(`\n${error.message}`); + } console.error('\n❌ Installation failed. Please check the error messages above.'); exit_code = 1; } finally {