mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-19 19:46:41 +00:00
Refactor error message in Sender class for consistency and clarity
This commit is contained in:
parent
e90d204287
commit
ac611dbbd4
@ -422,7 +422,7 @@ class Sender:
|
||||
self._process_deserialize_error(result)
|
||||
else:
|
||||
raise RuntimeError(
|
||||
f"Unexpected result type {type(result).__name__!r}: {result}"
|
||||
f"unexpected result type {type(result).__name__}: {result}"
|
||||
)
|
||||
|
||||
def _process_update(self, update: bytes | bytearray | memoryview) -> None:
|
||||
|
Loading…
Reference in New Issue
Block a user