wpenfold
6 years agoContributor
Creating and testing error pipelines
I’m trying to create an error pipeline. A couple of questions…
-
Is it supposed to be called regardless of whether there is an error or not? (It is. Am I doing something wrong? or is this expected behavior) If, so, how should I determine whether there is an error, or not, within the error pipeline?
-
Is there any way I can trigger various errors for testing purposes? So I can test that the error pipeline will respond correctly for different problems?
Most of the serious problems we need to recover from involve the temporary inability to connect to various sites to get or put files, and I can’t figure out a way to fake those errors.