cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Global Error Pipeline

mramaswamy
New Contributor II

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.

image

3 REPLIES 3

j_angelevski
Contributor III

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.

mramaswamy
New Contributor II

Thanks for the Reply. I will try that. Parameter reader is always executed?

j_angelevski
Contributor III

Yes, thatโ€™s a file reader and it is always executed in this case.