diff options
| author | Grant Limberg <[email protected]> | 2022-06-28 09:27:57 -0700 |
|---|---|---|
| committer | Grant Limberg <[email protected]> | 2022-06-28 09:28:35 -0700 |
| commit | 0d7197381abf5b6c48878bb346340d60cab911a5 (patch) | |
| tree | 9f39237ff19cd377e50c241d5ab261b3828d90fd /controller | |
| parent | 651f45fe29155c462f4e56dd74f4a347f6861d0d (diff) | |
exit here on error
Diffstat (limited to 'controller')
| -rw-r--r-- | controller/PostgreSQL.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp index cf154ecf..47324514 100644 --- a/controller/PostgreSQL.cpp +++ b/controller/PostgreSQL.cpp @@ -951,6 +951,7 @@ void PostgreSQL::initializeMembers() } } catch (sw::redis::Error &e) { fprintf(stderr, "ERROR: Error initializing members (redis): %s\n", e.what()); + exit(-1); } catch (std::exception &e) { fprintf(stderr, "ERROR: Error initializing member: %s-%s %s\n", networkId.c_str(), memberId.c_str(), e.what()); exit(-1); |
