Skip to content

Commit 471a130

Browse files
committed
fix(heartbeat): handle absent failure payloads
1 parent cd75e5b commit 471a130

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/infra/heartbeat-runner.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2097,7 +2097,7 @@ export async function runHeartbeatOnce(opts: {
20972097
identity: outboundIdentity,
20982098
threadId: delivery.threadId,
20992099
payloads: [
2100-
copyReplyPayloadMetadata(replyPayload, {
2100+
copyReplyPayloadMetadata(replyPayload ?? {}, {
21012101
...replyPayload,
21022102
text: normalized.text || undefined,
21032103
}),

0 commit comments

Comments
 (0)