This commit is contained in:
Andras Bacsai
2022-11-29 10:35:56 +01:00
parent 55b80132c4
commit c48654160d
7 changed files with 1155 additions and 13 deletions

View File

@@ -1492,7 +1492,7 @@ export function errorHandler({
message: string | any;
}) {
if (message.message) message = message.message;
Sentry.captureException({ status, message });
Sentry.captureException(message);
throw { status, message };
}
export async function generateSshKeyPair(): Promise<{ publicKey: string; privateKey: string }> {