diff --git a/sickbeard/postProcessor.py b/sickbeard/postProcessor.py index 95ddc3b874c5deec51b06f11baafc643bb5e3dc1..c7e3a1597110b913afb7167271232848101fc00c 100644 --- a/sickbeard/postProcessor.py +++ b/sickbeard/postProcessor.py @@ -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)