mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
add exception on logging close #83
This commit is contained in:
parent
b363473463
commit
2950caad33
9 changed files with 50 additions and 63 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue