Unverified Commit caaea7ad authored by KrishnanPrash's avatar KrishnanPrash Committed by GitHub
Browse files

chore: Improve NATS connection error message (#3612)


Signed-off-by: default avatarKrishnan Prashanth <kprashanth@nvidia.com>
parent e5f13356
......@@ -326,7 +326,7 @@ impl ClientOptions {
client
.connect(self.server)
.await
.map_err(|e| anyhow::anyhow!("Failed to connect to NATS: {e}"))
.map_err(|e| anyhow::anyhow!("Failed to connect to NATS: {e}. Verify NATS server is running and accessible."))
},
NATS_WORKER_THREADS,
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment