From: Wolfgang Bangerth Date: Fri, 5 May 2023 20:33:21 +0000 (-0600) Subject: Catch and rethrow *all* exceptions. X-Git-Tag: v9.5.0-rc1~244^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1d91a6cbedc598d7cba0ab6951ec33d50bf5f65;p=dealii.git Catch and rethrow *all* exceptions. --- diff --git a/source/sundials/kinsol.cc b/source/sundials/kinsol.cc index a1db0684e1..fa4d330f84 100644 --- a/source/sundials/kinsol.cc +++ b/source/sundials/kinsol.cc @@ -115,7 +115,7 @@ namespace SUNDIALS } // For any other exception, capture the exception and // return -1: - catch (const std::exception &) + catch (...) { eptr = std::current_exception(); return -1;