--recode-video option (Closes #18)
[youtube-dl] / youtube_dl / utils.py
index 8f856ee8c073dd9095f2b62b1567eabdb321c117..0e37390a25d483fb9152b782431974391739f6fd 100644 (file)
@@ -450,7 +450,8 @@ class PostProcessingError(Exception):
     This exception may be raised by PostProcessor's .run() method to
     indicate an error in the postprocessing task.
     """
-    pass
+    def __init__(self, msg):
+        self.msg = msg
 
 class MaxDownloadsReached(Exception):
     """ --max-downloads limit has been reached. """