sqs-queue-parallel icon indicating copy to clipboard operation
sqs-queue-parallel copied to clipboard

Fixed issue where error was thrown when message body is not JSON

Open johndierks opened this issue 10 years ago • 2 comments

In cases where the message's body is not JSON, trying to parse the body as JSON throws an error and crashes the process.

To prevent this from happening, we can attempt to parse the message body in a try block. If the message is not valid JSON, the catch block catches the error and then assigns the raw message string as the data.

johndierks avatar Apr 23 '16 05:04 johndierks

Any possibility we could get this merged?

Thanks!

chriskinsman avatar Jul 11 '19 16:07 chriskinsman

@bigluck Checking back in to see if we could get this merged and published. Thanks!

chriskinsman avatar Oct 07 '21 18:10 chriskinsman