This commit is contained in:
jarek committed 2026-01-20 15:39:08 +01:00
1 parent fe48d63164
commit a3cc26d958
35 files changed
+2045 -273

No files matched your search

+3 -2
View File
@@ -256,8 +256,9 @@ export async function adoptStack(
return { success: true, adoptedName: finalName };
} catch (err) {
console.error(`[Stack Scanner] Failed to adopt ${stack.name}:`, err);
return { success: false, error: err instanceof Error ? err.message : 'Unknown error' };
const errorMsg = err instanceof Error ? err.message : String(err);
console.error(`[Stack Scanner] Failed to adopt ${stack.name}:`, errorMsg);
return { success: false, error: errorMsg };
}
}