sqs-queue-parallel
sqs-queue-parallel copied to clipboard
Line 48 is an issue
you need try JSON.parse(message.Body) catch then message.Body
try { JSON.parse(message.Body); } catch (_error) { message.Body; }
That's right. It crashes on non-json messages in the queue