jlolling / talendcomp_tJobInstance

Talend User Components to work with the cimt framework for batch jobs. These components are developed as cooperation between cimt AG and Jan Lolling
Apache License 2.0
14 stars 7 forks source link

Return Errorcode 0 after an exception #6

Closed mattywausb closed 7 years ago

mattywausb commented 7 years ago

It is not possible overwrite the returncode to 0 when catching an exception inside of the job. This would be nice to catch irrelevant errors and declare the run as valid. (e.g. an error in some post processing, after all data was transformed and loaded)

jlolling commented 7 years ago

The return code should be exactly the same as the exit code of the job. This was the design goal. If an error should not be a reason to let the job fail, we should organize it in the job itself.