mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
* Fixes to SST time server state management
* Logging tweaks * Boolean to tune behavior on exception
This commit is contained in:
@ -10,13 +10,18 @@
|
||||
|
||||
namespace wsrep
|
||||
{
|
||||
extern bool abort_on_exception;
|
||||
|
||||
class runtime_error : public std::runtime_error
|
||||
{
|
||||
public:
|
||||
runtime_error(const std::string& msg)
|
||||
: std::runtime_error(msg)
|
||||
{
|
||||
// ::abort();
|
||||
if (abort_on_exception)
|
||||
{
|
||||
::abort();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user