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)
Here
logErris called beforeif (err.uow...check. It callserr.uow.pipelinewhich throwsCannot read properties of undefined (reading 'pipeline')if error was not properly handled withfaultyetc.In
0.xthislogErrwas insideif (err.uow)...and didn't cause such errorProbably intended to be
pipeline: err.uow?.pipeline || 'undefined',(with question mark)