Private GIT

Skip to content
Snippets Groups Projects
Commit 02f951d6 authored by Luca's avatar Luca
Browse files

Print error string if move fail

parent a24a96f6
Branches
No related tags found
No related merge requests found
......@@ -300,8 +300,8 @@ class PostProcessor(object):
helpers.moveFile(cur_file_path, new_file_path)
helpers.chmodAsParent(new_file_path)
except (IOError, OSError), e:
self._log("Unable to move file "+cur_file_path+" to "+new_file_path+": "+ex(e), logger.ERROR)
raise e
self._log("Unable to move file "+cur_file_path+" to "+new_file_path+": "+ex(str(e)), logger.ERROR)
raise ex(str(e))
self._combined_file_operation(file_path, new_path, new_base_name, associated_files, action=_int_move, subtitles=subtitles)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment