diff --git a/src/app/ssh/page.tsx b/src/app/ssh/page.tsx index 8ab62d110..aa1758f7e 100644 --- a/src/app/ssh/page.tsx +++ b/src/app/ssh/page.tsx @@ -152,7 +152,8 @@ export default async function SshPage() { await waitForRoundTripCompletion(messageIds, cookieHeader); } catch (err) { console.error("Error signing SSH key:", err); - error = t("sshErrorSignKeyFailed"); + const detail = err instanceof Error ? err.message : String(err); + error = `${t("sshErrorSignKeyFailed")}: ${detail}`; } }