Skip to content

Commit 86eeb0c

Browse files
committed
cloudflare-worker: remove useless assignment to message variable
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
1 parent 0f6e428 commit 86eeb0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloudflare-worker/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ export default {
699699
console.error("Webhook processing failed:", rawError);
700700

701701
let name = "Error";
702-
let message = "An unexpected error occurred";
702+
let message;
703703

704704
if (rawError instanceof Error) {
705705
name = rawError.name;

0 commit comments

Comments
 (0)