mirror of
https://github.com/fosrl/pangolin.git
synced 2026-06-10 09:33:15 +00:00
Show more information about error
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user