Skip to content

Commit

Permalink
Return if invalid message, to cease work
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Nowak <10963046+andrew-nowak@users.noreply.github.com>
  • Loading branch information
bryophyta and andrew-nowak committed Dec 11, 2024
1 parent 0f414f9 commit 49cdb84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pluto-message-ingestion/pluto-message-processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class PlutoMessageProcessor {
);

// `resolve` to remove message from Kinesis
resolve('invalid message, props missing');
return resolve('invalid message, props missing');
}

const project = Object.assign({}, message);
Expand Down

0 comments on commit 49cdb84

Please sign in to comment.