Log chmod error
This commit is contained in:
@@ -408,7 +408,7 @@ class Renamer(Plugin):
|
|||||||
try:
|
try:
|
||||||
os.chmod(dest, Env.getPermission('file'))
|
os.chmod(dest, Env.getPermission('file'))
|
||||||
except:
|
except:
|
||||||
log.error('Failed setting permissions for file: %s', dest)
|
log.error('Failed setting permissions for file: %s, %s', (dest, traceback.format_exc(1)))
|
||||||
|
|
||||||
except:
|
except:
|
||||||
log.error('Couldn\'t move file "%s" to "%s": %s', (old, dest, traceback.format_exc()))
|
log.error('Couldn\'t move file "%s" to "%s": %s', (old, dest, traceback.format_exc()))
|
||||||
|
|||||||
Reference in New Issue
Block a user