sqs-queue-parallel
sqs-queue-parallel copied to clipboard
Fixed issue where error was thrown when message body is not JSON
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.
Any possibility we could get this merged?
Thanks!
@bigluck Checking back in to see if we could get this merged and published. Thanks!