2 Commits

Author SHA1 Message Date
Rinat Sabitov
aca55e6b9a Fixed bug in error handing
Bug detected as referenced before assignment variable but then was found
incorrect function parameters handling.

Change-Id: Id48145cc817bb3c6b62489bf975485af61257b96
Closes-Bug: 1483642
2015-08-12 08:56:04 +03:00
Zhenguo Niu
307cde8cd8 Add handle_error decorator to API calls
It wraps the original method in a try-except block, with horizon's
error handling added.

Change-Id: Id6f7001a6d77f4ba0c0ca8fa62801d6007266bd3
2015-07-06 15:50:51 +08:00