Agent: Add missing `return` to convert_json_error_to_island_api_error()

This commit is contained in:
Mike Salvatore 2022-09-21 15:04:51 -04:00
parent 388b9fe4ed
commit f811f91d73
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ def convert_json_error_to_island_api_error(fn):
@functools.wraps(fn)
def wrapper(*args, **kwargs):
try:
fn(*args, **kwargs)
return fn(*args, **kwargs)
except json.JSONDecodeError as err:
raise IslandAPIRequestFailedError(err)