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

View File

@@ -332,7 +332,7 @@ export async function sign({
Authorization: authorization,
};
} 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");
}
}