mirror of
https://github.com/fosrl/pangolin.git
synced 2026-06-11 18:09:05 +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);
|
await waitForRoundTripCompletion(messageIds, cookieHeader);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error("Error signing SSH key:", 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