diff options
author | Zdenek Prikryl <zprikryl@redhat.com> | 2009-03-19 18:25:55 +0100 |
---|---|---|
committer | Zdenek Prikryl <zprikryl@redhat.com> | 2009-03-19 18:25:55 +0100 |
commit | 40cfd5a94bccd49742674037a339c179f2da2f24 (patch) | |
tree | 80abbc2780efc016bd1d60f84c4857d160793c54 /lib/MiddleWare | |
parent | 67fae29284030d4beca7d9176d3a6c09ae51363a (diff) | |
download | abrt-40cfd5a94bccd49742674037a339c179f2da2f24.tar.gz abrt-40cfd5a94bccd49742674037a339c179f2da2f24.tar.xz abrt-40cfd5a94bccd49742674037a339c179f2da2f24.zip |
new approach for getting debuginfos and backtraces
Diffstat (limited to 'lib/MiddleWare')
-rw-r--r-- | lib/MiddleWare/MiddleWare.cpp | 10 |
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); |