Exits process when encountered by a database exception 69/7169/1
authorBenjamin Diaz <bdiaz@whitestack.com>
Fri, 25 Jan 2019 17:30:20 +0000 (14:30 -0300)
committerBenjamin Diaz <bdiaz@whitestack.com>
Fri, 1 Feb 2019 12:56:15 +0000 (09:56 -0300)
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: Benjamin Diaz <bdiaz@whitestack.com>

No differences found