This commit is contained in:
Anatoliy Esherkin
2026-03-17 22:04:36 +03:00
committed by GitHub

View File

@@ -123,6 +123,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: