Skip to content

Commit d9c5c1c

Browse files
adrianlztaviau
authored andcommitted
Some exceptions could be raised before sending data to server (influxdata#284) (thanks @adrianlzt!)
1 parent 3b0cdaa commit d9c5c1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

influxdb/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,8 @@ def func(*args, **kwargs):
907907
except InfluxDBClientError as e:
908908
# Errors caused by user's requests, re-raise
909909
raise e
910+
except ValueError as e:
911+
raise e
910912
except Exception as e:
911913
# Errors that might caused by server failure, try another
912914
bad_host = True

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