Skip to content

Commit

Permalink
Update environment.py
Browse files Browse the repository at this point in the history
  • Loading branch information
QuixoteSystems committed Jan 24, 2023
1 parent d67f3c8 commit fdd8895
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions koios_python/environment.py
Expand Up @@ -84,11 +84,10 @@ def inner_function(*args, **kwargs):

# UnboundLocalError
except UnboundLocalError as error:
print(f"Exception 1: {error}")
print(f"Exception: {error}")


# All other exceptions
except Exception as e:
print(f"Exception 2: {e}")
print(f"Exception: {e}")

return inner_function

0 comments on commit fdd8895

Please sign in to comment.