Skip to content

Commit

Permalink
raise just in case #9022
Browse files Browse the repository at this point in the history
  • Loading branch information
andresriancho committed Apr 5, 2015
1 parent 29fde4b commit 5883c0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion w3af/core/data/db/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def save(self):

try:
req_res = open(path_fname, 'wb')
except IOError, ioe:
except IOError:
# We get here when the path_fname does not exist (for some reason)
# and want to analyze exactly why to be able to fix the issue in
# the future.
Expand All @@ -363,6 +363,8 @@ def save(self):
' write DB history to "%s"')
raise IOError(msg % (test_path, path_fname))

raise

data = (self.request.to_dict(),
self.response.to_dict(),
self._MSGPACK_CANARY)
Expand Down

0 comments on commit 5883c0f

Please sign in to comment.