aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/postprocessor/common.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-04-17 23:19:53 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-04-18 00:33:00 +0530
commit3d3bb1688bfc5373105e6bf7c3d4729cf3f78788 (patch)
treedc0829ecfb0bb1cc42bc715d29dceef8ada23ba2 /yt_dlp/postprocessor/common.py
parent2e25ce3a05bbbe8a448eb35d1d79865837ec0481 (diff)
[docs] Improve embedding docs and other minor fixes
Diffstat (limited to 'yt_dlp/postprocessor/common.py')
-rw-r--r--yt_dlp/postprocessor/common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/postprocessor/common.py b/yt_dlp/postprocessor/common.py
index ce6dec2f5..fdea3a7ea 100644
--- a/yt_dlp/postprocessor/common.py
+++ b/yt_dlp/postprocessor/common.py
@@ -83,7 +83,8 @@ class PostProcessor(metaclass=PostProcessorMetaClass):
write_string(f'DeprecationWarning: {text}')
def report_error(self, text, *args, **kwargs):
- # Exists only for compatibility. Do not use
+ self.deprecation_warning('"yt_dlp.postprocessor.PostProcessor.report_error" is deprecated. '
+ 'raise "yt_dlp.utils.PostProcessingError" instead')
if self._downloader:
return self._downloader.report_error(text, *args, **kwargs)