add exception on logging close #83

This commit is contained in:
clinton-hall 2013-05-01 13:35:26 +09:30
commit 2950caad33
9 changed files with 50 additions and 63 deletions

View file

@ -124,6 +124,6 @@ def extract(filePath, outputDestination):
else:
Logger.error("EXTRACTOR: Extraction failed for %s. 7zip result was %s", filePath, res)
except:
Logger.error("EXTRACTOR: Extraction failed for %s. Could not call command %s", filePath, cmd)
Logger.exception("EXTRACTOR: Extraction failed for %s. Could not call command %s", filePath, cmd)
os.chdir(pwd) # Go back to our Original Working Directory
return True