Skip to content

Commit

Permalink
Revert "Catch base Exception (#1452)" (#1453)
Browse files Browse the repository at this point in the history
This reverts commit 5264170.
  • Loading branch information
narrieta authored Feb 3, 2019
1 parent 5264170 commit 311ac7d
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 Exception as e:
except IOError 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 311ac7d

Please sign in to comment.