Skip to content

PyJobTransforms.trfAMI: improve handling of pyAMI.exception.Error exceptions

John Derek Chapman requested to merge jchapman/athena:trfAMI_patch_24.0 into 24.0

Follows from !76577 (merged). In the case that getAMIClient or get_ami_tag throws an exception and the two specific cases are not found a general TransformAMIException should be thrown rather than letting the job fail with an UnboundLocalError when it tries to access a non-existent variable. Also remove obsolete debug message.

Merge request reports

Loading