Skip to content

Commit c731013

Browse files
janikwitzigCopilot
andauthored
Update src/handlers/feedback-handler.ts
fix: feedback handler continues to loop if a feedback id is undefined instead of returning Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ff59887 commit c731013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handlers/feedback-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class FeedbackHandler extends EventEmitter {
5252
for (const msg of msgs) {
5353
const toUpdate = this.subscriptions?.getFeedbacks(msg.address)
5454
if (toUpdate === undefined) {
55-
return
55+
continue
5656
}
5757
if (toUpdate.length > 0) {
5858
toUpdate.forEach((f) => this.messageFeedbacks.add(f))

0 commit comments

Comments
 (0)