neo4j-partners / hands-on-lab-neo4j-and-bedrock

Hands on lab for Neo4j and Amazon Bedrock
Apache License 2.0
42 stars 41 forks source link

print squashing connect failures #9

Closed benofben closed 1 year ago

benofben commented 1 year ago

remove this line: print ("Look Mom, I was able to connect to Neo4j from Sagemaker.")

gogitguhan commented 1 year ago

Modified the message text. But, the message will be printed only after successful connection. If any error occurs like wrong server endpoint or an invalid password, that success message won't be printed. In case of failure, error message will still be printed with stack trace.