Bug detected as referenced before assignment variable but then was found incorrect function parameters handling. Change-Id: Id48145cc817bb3c6b62489bf975485af61257b96 Closes-Bug: 1483642
It wraps the original method in a try-except block, with horizon's error handling added. Change-Id: Id6f7001a6d77f4ba0c0ca8fa62801d6007266bd3