Skip to content

Commit ac7ad7d

Browse files
committed
pyrofork: fix on_error help
Signed-off-by: wulan17 <wulan17@komodos.id>
1 parent 40cd7ba commit ac7ad7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/methods/decorators/on_error.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def on_error(self=None, errors=None) -> Callable:
2828
"""Decorator for handling new errors.
2929
3030
This does the same thing as :meth:`~pyrogram.Client.add_handler` using the
31-
:obj:`~pyrogram.handlers.MessageHandler`.
31+
:obj:`~pyrogram.handlers.ErrorHandler`.
3232
3333
Parameters:
3434
errors (:obj:`~Exception`, *optional*):

0 commit comments

Comments
 (0)