aws-lambda-stream
aws-lambda-stream copied to clipboard
Faults handling bug
Here logErr is called before if (err.uow... check. It calls err.uow.pipeline which throws Cannot read properties of undefined (reading 'pipeline') if error was not properly handled with faulty etc.
In 0.x this logErr was inside if (err.uow)... and didn't cause such error
Probably intended to be pipeline: err.uow?.pipeline || 'undefined', (with question mark)