Skip to content

Commit

Permalink
move to BaseException to handle urllib HTTPErrors
Browse files Browse the repository at this point in the history
  • Loading branch information
daggy1234 authored Apr 20, 2022
1 parent a1b48d1 commit 11c9c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def install_or_update(cls) -> None:
os.chmod(serverfile, 0o744)
with open(os.path.join(cls.basedir(), "VERSION"), "w") as fp:
fp.write(version)
except Exception:
except BaseException:
shutil.rmtree(cls.basedir(), ignore_errors=True)
raise

Expand Down

0 comments on commit 11c9c3e

Please sign in to comment.