mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 17:36:34 +03:00
Use logger.exception instead logger.error on ReadThread
This commit is contained in:
parent
b346561f89
commit
778c844a64
|
@ -843,9 +843,8 @@ class TelegramBareClient:
|
|||
self.idle(stop_signals=tuple())
|
||||
except Exception as error:
|
||||
# Unknown exception, pass it to the main thread
|
||||
self._logger.error(
|
||||
'Unknown error on the read thread, please report',
|
||||
error
|
||||
self._logger.exception(
|
||||
'Unknown error on the read thread, please report'
|
||||
)
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user