diff --git a/macos.py b/macos.py index e0d7f79..3b1915d 100644 --- a/macos.py +++ b/macos.py @@ -309,7 +309,7 @@ def _maybe_notify_update_async() -> None: ): webbrowser.open(url) except Exception as exc: - log.debug("Update check failed: %s", exc) + log.warning("Update check failed: %s", exc) threading.Thread(target=_work, daemon=True, name="update-check").start() diff --git a/proxy/fake_tls.py b/proxy/fake_tls.py index 531c7b7..ea6379d 100644 --- a/proxy/fake_tls.py +++ b/proxy/fake_tls.py @@ -213,7 +213,7 @@ async def proxy_to_masking_domain(reader, writer, initial_data: bytes, up_reader, up_writer = await asyncio.wait_for( asyncio.open_connection(domain, 443), timeout=10) except Exception as exc: - log.debug("[%s] masking: cannot connect to %s:443: %s", + log.warning("[%s] masking: cannot connect to %s:443: %s", label, domain, repr(exc)) return diff --git a/proxy/tg_ws_proxy.py b/proxy/tg_ws_proxy.py index 45bf961..8039546 100644 --- a/proxy/tg_ws_proxy.py +++ b/proxy/tg_ws_proxy.py @@ -312,7 +312,7 @@ async def _handle_client(reader, writer, secret: bytes): result = _try_handshake(handshake, secret) if result is None: stats.connections_bad += 1 - log.debug("[%s] bad handshake (wrong secret or proto)", label) + log.warning("[%s] bad handshake (wrong secret or proto)", label) try: drain_src = tls_stream or reader while await drain_src.read(4096): diff --git a/utils/tray_common.py b/utils/tray_common.py index 9cfbc9e..3e3c70f 100644 --- a/utils/tray_common.py +++ b/utils/tray_common.py @@ -391,7 +391,7 @@ def maybe_notify_update( ): webbrowser.open(url) except Exception as exc: - log.debug("Update check failed: %s", repr(exc)) + log.warning("Update check failed: %s", repr(exc)) threading.Thread(target=_work, daemon=True, name="update-check").start()