mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-17 20:46:54 +02:00
exit here on error
This commit is contained in:
parent
651f45fe29
commit
0d7197381a
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue