mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Use logger.exception instead logger.error on ReadThread
This commit is contained in:
@@ -843,9 +843,8 @@ class TelegramBareClient:
|
|||||||
self.idle(stop_signals=tuple())
|
self.idle(stop_signals=tuple())
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
# Unknown exception, pass it to the main thread
|
# Unknown exception, pass it to the main thread
|
||||||
self._logger.error(
|
self._logger.exception(
|
||||||
'Unknown error on the read thread, please report',
|
'Unknown error on the read thread, please report'
|
||||||
error
|
|
||||||
)
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user