summaryrefslogtreecommitdiffstats
path: root/lib/MiddleWare
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MiddleWare')
-rw-r--r--lib/MiddleWare/MiddleWare.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/MiddleWare/MiddleWare.cpp b/lib/MiddleWare/MiddleWare.cpp
index e6e23020..66d6f78d 100644
--- a/lib/MiddleWare/MiddleWare.cpp
+++ b/lib/MiddleWare/MiddleWare.cpp
@@ -189,7 +189,15 @@ void CMiddleWare::CreateReport(const std::string& pUUID,
dd.Open(row.m_sDebugDumpDir);
dd.LoadText(FILENAME_ANALYZER, analyzer);
- CreateReport(analyzer, row.m_sDebugDumpDir);
+ try
+ {
+ CreateReport(analyzer, row.m_sDebugDumpDir);
+ }
+ catch (...)
+ {
+ dd.Close();
+ throw;
+ }
UUID = GetGlobalUUID(analyzer, row.m_sDebugDumpDir);
dd.SaveText(FILENAME_UUID, UUID);