diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-30 19:17:10 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-30 19:17:10 +0100 |
commit | 276a9017d63445dd322f9a93ff34e67cbdf97dc9 (patch) | |
tree | be5d38eaa1aeaefe49966ea280e6e8d13e6ec2ce /src/Daemon | |
parent | b4e0ad1ef24fd49bcd5cdd1b6f1dd69768036e07 (diff) | |
download | abrt-276a9017d63445dd322f9a93ff34e67cbdf97dc9.tar.gz abrt-276a9017d63445dd322f9a93ff34e67cbdf97dc9.tar.xz abrt-276a9017d63445dd322f9a93ff34e67cbdf97dc9.zip |
lib/Plugins/Logger: much more sane dump format; fix misdetection of text files
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon')
-rw-r--r-- | src/Daemon/MiddleWare.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Daemon/MiddleWare.cpp b/src/Daemon/MiddleWare.cpp index 7c5bb412..2fd4f259 100644 --- a/src/Daemon/MiddleWare.cpp +++ b/src/Daemon/MiddleWare.cpp @@ -84,12 +84,14 @@ static void DebugDumpToCrashReport(const std::string& pDebugDumpDir, map_crash_r !dd.Exist(FILENAME_RELEASE) || !dd.Exist(FILENAME_EXECUTABLE)) { - throw CABRTException(EXCEP_ERROR, "DebugDumpToCrashReport(): One or more of important file(s)'re missing."); + throw CABRTException(EXCEP_ERROR, "DebugDumpToCrashReport(): One or more of important file(s)'re missing"); } + pCrashReport.clear(); dd.InitGetNextFile(); while (dd.GetNextFile(fileName, content, isTextFile)) { +VERB3 log(" file:'%s' text:%d", fileName.c_str(), isTextFile); if (!isTextFile) { add_crash_data_to_crash_report(pCrashReport, |