forked from p34709852/monkey
Agent: Add missing `return` to handle_island_api_errors()
This commit is contained in:
parent
69c8d3a667
commit
388b9fe4ed
|
@ -18,7 +18,7 @@ def handle_island_api_errors(func):
|
|||
@wraps(func)
|
||||
def wrapper(*args, **kwargs):
|
||||
try:
|
||||
func(*args, **kwargs)
|
||||
return func(*args, **kwargs)
|
||||
except IslandAPIError as err:
|
||||
raise IslandCommunicationError(err)
|
||||
|
||||
|
|
Loading…
Reference in New Issue