inherit exception for CppSQLite3Exception (#1544)

catch any exception just in case exception isnt inherited from
This commit is contained in:
David Markowitz
2024-04-10 05:32:54 -07:00
committed by GitHub
parent d067a8d12f
commit b8b2b687e2
2 changed files with 6 additions and 1 deletions

View File

@@ -120,6 +120,8 @@ void CatchUnhandled(int sig) {
if (eptr) std::rethrow_exception(eptr);
} catch(const std::exception& e) {
LOG("Caught exception: '%s'", e.what());
} catch (...) {
LOG("Caught unknown exception.");
}
#ifndef INCLUDE_BACKTRACE