mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Make hardlink debug error more verbose
This commit is contained in:
parent
16a54e62d6
commit
560ffca7dd
@ -378,8 +378,9 @@ def hardlinkFile(srcFile, destFile):
|
||||
try:
|
||||
ek.ek(link, srcFile, destFile)
|
||||
fixSetGroupID(destFile)
|
||||
except:
|
||||
logger.log(u"Failed to create hardlink of " + srcFile + " at " + destFile + ". Copying instead", logger.ERROR)
|
||||
except Exception, e:
|
||||
logger.log(u"Failed to create hardlink of " + srcFile + " at " + destFile + ": " + ex(e) + ". Copying instead",
|
||||
logger.ERROR)
|
||||
copyFile(srcFile, destFile)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user