fix: handle possibly undefined msg from returning()

This commit is contained in:
Jason Preston
2026-08-09 00:42:33 -06:00
parent a89c917891
commit 9d000474d1
+2
View File
@@ -102,6 +102,8 @@ async function persistAndPublish(
})
.returning();
if (!msg) return;
const event = {
type: 'irc_event',
eventType: data.type,