better exception logging

This commit is contained in:
Flowseal
2026-04-18 15:45:15 +03:00
parent 791708cc3d
commit 0c8d0f160a
5 changed files with 9 additions and 9 deletions

View File

@@ -214,7 +214,7 @@ async def proxy_to_masking_domain(reader, writer, initial_data: bytes,
asyncio.open_connection(domain, 443), timeout=10)
except Exception as exc:
log.debug("[%s] masking: cannot connect to %s:443: %s",
label, domain, exc)
label, domain, repr(exc))
return
log.debug("[%s] masking -> %s:443", label, domain)