Update app/utils/aws.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
glay 2024-12-09 10:18:15 +08:00 committed by GitHub
parent 44a1cf6d6e
commit 50a241b715
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ export async function sign({
Authorization: authorization, Authorization: authorization,
}; };
} catch (error) { } catch (error) {
console.error("[AWS Signing Error]:", error); console.error("[AWS Signing Error]: Failed to sign request");
throw new Error("Failed to sign AWS request"); throw new Error("Failed to sign AWS request");
} }
} }