From 9dc7f980ee4f06f7ad42e05aedd05c3faa11a9e7 Mon Sep 17 00:00:00 2001 From: Pietro Incardona <incardon@mpi-cbg.de> Date: Sun, 16 Jul 2017 18:32:47 +0200 Subject: [PATCH] changing from exit to abort --- src/util/se_util.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/se_util.hpp b/src/util/se_util.hpp index 4745a82..5be52d8 100644 --- a/src/util/se_util.hpp +++ b/src/util/se_util.hpp @@ -12,7 +12,7 @@ // Macro that decide what to do in case of error #ifdef STOP_ON_ERROR -#define ACTION_ON_ERROR(error) print_stack();exit(1); +#define ACTION_ON_ERROR(error) print_stack();abort(); #define THROW noexcept(true) #elif defined(THROW_ON_ERROR) #define ACTION_ON_ERROR(error) if (!std::uncaught_exception()) {print_stack();throw error;} -- GitLab