Agent: Remove repeated code in http_island_api_client.handle_island_errors()

This commit is contained in:
Shreya Malviya 2022-09-22 16:31:53 +05:30
parent 444bf99e41
commit 7d996c100e
1 changed files with 0 additions and 2 deletions

View File

@ -48,8 +48,6 @@ def handle_island_errors(fn):
raise IslandAPIError(err) raise IslandAPIError(err)
except TimeoutError as err: except TimeoutError as err:
raise IslandAPITimeoutError(err) raise IslandAPITimeoutError(err)
except IslandAPIError as err:
raise err
except Exception as err: except Exception as err:
raise IslandAPIError(err) raise IslandAPIError(err)