From ac7ad7d3bc9bc77599f889d76734d13dfb80768f Mon Sep 17 00:00:00 2001 From: wulan17 Date: Wed, 14 May 2025 12:25:26 +0700 Subject: [PATCH] pyrofork: fix on_error help Signed-off-by: wulan17 --- pyrogram/methods/decorators/on_error.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/methods/decorators/on_error.py b/pyrogram/methods/decorators/on_error.py index d21d75bb..7c3294d1 100644 --- a/pyrogram/methods/decorators/on_error.py +++ b/pyrogram/methods/decorators/on_error.py @@ -28,7 +28,7 @@ class OnError: """Decorator for handling new errors. This does the same thing as :meth:`~pyrogram.Client.add_handler` using the - :obj:`~pyrogram.handlers.MessageHandler`. + :obj:`~pyrogram.handlers.ErrorHandler`. Parameters: errors (:obj:`~Exception`, *optional*):