Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit cec332f

Browse files
committed
except RuntimeError -> except RuntimeError as e
1 parent df8b201 commit cec332f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

influxdb/tests/server_tests/influxdb_instance.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ def __init__(self,
3636
try:
3737
self._start_server(conf_template, udp_enabled)
3838
break
39-
except RuntimeError: # Happens when the ports are already in use.
39+
# Happens when the ports are already in use.
40+
except RuntimeError as e:
4041
errors += 1
4142
if errors > 2:
4243
raise e

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy