Skip to content

Commit

Permalink
Catch base Exception (#1452)
Browse files Browse the repository at this point in the history
  • Loading branch information
narrieta authored Feb 2, 2019
1 parent 016a519 commit 5264170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azurelinuxagent/ga/exthandlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ def download(self):
self.logger.verbose("Unzip extension package")
try:
zipfile.ZipFile(self.pkg_file).extractall(self.get_base_dir())
except IOError as e:
except Exception as e:
fileutil.clean_ioerror(e, paths=[self.get_base_dir(), self.pkg_file])
raise ExtensionError(u"Failed to unzip extension package", e, code=1001)

Expand Down

0 comments on commit 5264170

Please sign in to comment.