Skip to content

Commit 1ff367f

Browse files
author
sahana
committed
yay
1 parent bf381ce commit 1ff367f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/core/events/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ async function handleValidatedEvent(body: BlockActionEvent | MessageIMEvent) {
5656
return;
5757
}
5858

59-
await blockActionHandler(body);
59+
void blockActionHandler(body).catch((err) =>
60+
console.error("[button] handler failed:", err)
61+
);
6062
}
6163

6264
export default new Elysia().use(commandHandler).post("/api/events", handler);

0 commit comments

Comments
 (0)