Skip to content
Commit a96898df authored by diazb's avatar diazb
Browse files

Exits process when encountered by a database exception



Database errors could mean database node failure. In this cases, the process
should exit so it could be automatically restarted (when handled by Docker Swarm, K8s, etc)
so it can obtain a new DB connection to an alive node.

Change-Id: I42a3954fe238a0445101eb71add79aaef4315c2e
Signed-off-by: default avatarBenjamin Diaz <bdiaz@whitestack.com>
parent b77fe269
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment