Skip to content

Commit

Permalink
(fix) ignore any errors that occured while checking for updates
Browse files Browse the repository at this point in the history
  • Loading branch information
leonjza committed Feb 17, 2021
1 parent dc104f8 commit 925d2bc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions objection/utils/__init__.py
Expand Up @@ -53,5 +53,8 @@ def new_secho(text: str, **kwargs) -> None:
real_secho = click.secho
click.secho = new_secho

# kick off a background thread to check the version of objection
threading.Thread(target=check_version).start()
try:
# kick off a background thread to check the version of objection
threading.Thread(target=check_version).start()
except Exception:
pass

0 comments on commit 925d2bc

Please sign in to comment.