For the longest time I've been using exception handlers without any issue. They still work fine as long as I do not alter the default fail after 50 warnings. However, if I execute the sequence with a warning flag different than the default the exception handler doesn't work and no notification gets sent.
job-->job--job
exception_handler--->notify_email
I get the same effect if i alter the warning limit via Director or command line.
Anybody know why and how I get around this? The handler should work regardless.
Exception Handler doesn't work if I use warn flag
Moderators: chulett, rschirm, roy
Exception Handler supposed to react on "Failure" and not on "Warnings".
When warning limit set as 50, exception handler catches and throw an exception when the warning count exceeds to 50.
When warning limit set to "No Limit". Exception Handler will not give an exception, because, you have forced your job to run with "No Limit" for warnings, which teaches exception handler to consider this as a normal flow.
When warning limit set as 50, exception handler catches and throw an exception when the warning count exceeds to 50.
When warning limit set to "No Limit". Exception Handler will not give an exception, because, you have forced your job to run with "No Limit" for warnings, which teaches exception handler to consider this as a normal flow.
Rgrds,
Abhi
Abhi