Merge 6a82004727 into 582c0f571c
This commit is contained in:
commit
b83b53caba
|
|
@ -90,6 +90,8 @@ class OnemeMobileServer:
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.logger.error(f"Произошла ошибка при работе с клиентом {address[0]}:{address[1]}: {e}")
|
self.logger.error(f"Произошла ошибка при работе с клиентом {address[0]}:{address[1]}: {e}")
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
except AttributeError:
|
||||||
|
self.logger.error(f"Повреждённый пакет от клиента {address[0]}:{address[1]}, пропускаю")
|
||||||
|
|
||||||
# Удаляем клиента из словаря
|
# Удаляем клиента из словаря
|
||||||
if userPhone:
|
if userPhone:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue