diff --git a/src/jrd/DatabaseSnapshot.cpp b/src/jrd/DatabaseSnapshot.cpp index fb886bb8d5..6ef6f5c3de 100644 --- a/src/jrd/DatabaseSnapshot.cpp +++ b/src/jrd/DatabaseSnapshot.cpp @@ -350,17 +350,19 @@ int DatabaseSnapshot::blockingAst(void* ast_object) if (!(dbb->dbb_ast_flags & DBB_monitor_off)) { - try { - // Write the data to the shared memory + // Write the data to the shared memory + try + { dumpData(tdbb); + } + catch (const Exception& ex) + { + iscLogException("Cannot dump the monitoring data", ex); + } - // Release the lock and mark dbb as requesting a new one - LCK_release(tdbb, lock); - dbb->dbb_ast_flags |= DBB_monitor_off; - } - catch (const Exception&) { - gds__log("Unexpected exception at the AST level"); - } + // Release the lock and mark dbb as requesting a new one + LCK_release(tdbb, lock); + dbb->dbb_ast_flags |= DBB_monitor_off; } } catch (const Exception&)