Agent: Reraise IslandAPIError in handle_island_errors()

This commit is contained in:
Mike Salvatore 2022-09-20 09:39:20 -04:00
parent 8b52ba0686
commit 34a4d81336
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ 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)