8000 don't catch an exception we don't care about anyway · pythonthings/pyppeteer@f4094f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit f4094f3

Browse files
committed
don't catch an exception we don't care about anyway
1 parent b9608da commit f4094f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyppeteer/launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def get_ws_endpoint(url) -> str:
228228
with urlopen(url) as f:
229229
data = json.loads(f.read().decode())
230230
break
231-
except URLError as e:
231+
except URLError:
232232
continue
233233
time.sleep(0.1)
234234

0 commit comments

Comments
 (0)
0