aws-lambda-stream icon indicating copy to clipboard operation
aws-lambda-stream copied to clipboard

Faults handling bug

Open vsnig opened this issue 1 year ago • 0 comments

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)

vsnig avatar Dec 05 '24 10:12 vsnig