I'm using the acryl-datahub[datahub-rest] client code inside a python 3.9 application. The DataHubGraph constructor inside client.py has a test_connection method that raises a ConfigurationError when the DataHub server is unavailable or otherwise having problems. Raising an unhandled error from within a constructor has the effect of crashing the client application--which I would like to avoid. Do you have a recommended strategy for handling server unavailability in a gentler way?
r
rich-barista-93413
11/16/2023, 9:18 AM
@green-football-43791 might be able to speak to this!
g
green-football-43791
11/16/2023, 9:42 PM
Hey @refined-football-89019, definitely can help there. lack of connectivity shouldn’t crash your application- can you let me know which function call specifically causes the client application to crash?