Browse Source

(feat) Catch more specific exception

main
Michal Charemza 5 years ago
parent
commit
ce8478e150
No known key found for this signature in database GPG Key ID: 4BBAF0F6B73C4363
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dnsrewriteproxy.py

+ 1
- 1
dnsrewriteproxy.py View File

@@ -82,7 +82,7 @@ def DnsProxy(
for upstream_task in upstream_worker_tasks:
try:
await upstream_task
except Exception:
except CancelledError:
pass

async def upstream_worker(sock, resolve, upstream_queue):


Loading…
Cancel
Save