Skip to content

Commit d6dd6fd

Browse files
committed
chore: log error
1 parent 7af7a66 commit d6dd6fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gh-webhook/github.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ async function sendToWebhook(body: string, headers: Headers, webhookUrl: string)
105105
});
106106

107107
return response.ok;
108-
} catch {
108+
} catch (e) {
109+
console.error('Error sending to discord webhook:', e);
109110
return false;
110111
}
111112
}

0 commit comments

Comments
 (0)