diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 0e90c65..e128981 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -15,10 +15,10 @@ jobs: preset: [default] include: - toolchain: gcc - docker: 1.245.1 + docker: 1.246.0 compiler: gcc - toolchain: clang - docker: 1.245.1 + docker: 1.246.0 compiler: clang steps: - name: Checkout opentxs diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 898cd69..bb54a2a 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false env: - docker: '1.245.1' + docker: '1.246.0' steps: - name: Checkout opentxs uses: actions/checkout@v3 diff --git a/.github/workflows/iwyu.yml b/.github/workflows/iwyu.yml index 59f9336..9bbb647 100644 --- a/.github/workflows/iwyu.yml +++ b/.github/workflows/iwyu.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false env: - docker: '1.245.1' + docker: '1.246.0' steps: - name: Checkout opentxs uses: actions/checkout@v3 diff --git a/CMakeLists.txt b/CMakeLists.txt index b23b766..363be19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,7 @@ otcommon_print_build_details(METIER_SERVER_PEDANTIC_BUILD "") otcommon_find_system_libraries() find_package( opentxs - 1.245 + 1.246.0 CONFIG REQUIRED ) diff --git a/src/metier_server/main.cpp b/src/metier_server/main.cpp index e51b9d8..70dc0cf 100644 --- a/src/metier_server/main.cpp +++ b/src/metier_server/main.cpp @@ -9,7 +9,7 @@ auto main(int argc, char* argv[]) -> int { - std::set_terminate(&opentxs::terminate_handler); + opentxs::init_terminate_handler(); try { auto alloc = opentxs::alloc::Strategy{}; @@ -18,6 +18,10 @@ auto main(int argc, char* argv[]) -> int } catch (std::exception const& e) { opentxs::LogError()(e.what()).Flush(); + return 1; + } catch (...) { + opentxs::LogError()("unknown exception").Flush(); + return 1; } }