โ08-31-2021 11:13 PM
We have a โGlobal Error Handlerโ pipeline called from every pipeline. We recently started seeing slowness in the Error Pipeline in the โParameter Readerโ snap. Also we recently noticed โGlobal Error Log Writerโ snap is called even though the โRouterโ is returning false for โWrite Error Logโ view. This is happening even though we are not getting any errors. We would like to know if there is any change recently made to the the way Error Pipeline works. Image of the โGlobal Error Handlerโ attached.
โ09-01-2021 12:43 AM
Hi @mramaswamy ,
The reason for why the โGlobal Error Log Writerโ is executed even though it shouldnโt if there is no error, it can be because in the Formatter snap before the File Writer thereโs a setting called โIgnore empty streamโ, this setting by default is not enabled and even though thereโs no input data there, the Formatter is the one that will produce an empty output and the File Writer will be executed. To fix this just enable the setting and it shouldnโt execute the File Writer anymore.
โ09-02-2021 11:51 AM
Thanks for the Reply. I will try that. Parameter reader is always executed?
โ09-02-2021 12:41 PM
Yes, thatโs a file reader and it is always executed in this case.