Skip to content

Commit 5cb288d

Browse files
committed
Fix crash reports for actual crashes.
1 parent 53af63e commit 5cb288d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

SerialPrograms/Source/CommonFramework/ErrorReports/ErrorReports.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ SendableErrorReport::SendableErrorReport()
105105
: PROGRAM_NAME + " (" + PROGRAM_VERSION + ")"
106106
)
107107
, m_program_runtime_millis(0)
108+
, m_dump_name(ERROR_DUMP_NAME)
108109
{
109110
QDir().mkpath(QString::fromStdString(m_directory));
110111
}

SerialPrograms/Source/CommonFramework/ErrorReports/ProgramDumper_Windows.tpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ long WINAPI crash_handler(EXCEPTION_POINTERS* e){
114114

115115
// _wmkdir(utf8_to_wstr(ERROR_PATH_UNSENT).c_str());
116116
program_dump(nullptr, report.directory() + ERROR_DUMP_NAME, e);
117-
report.add_file(ERROR_DUMP_NAME);
118117
report.save(nullptr);
119118

120119
Sleep(1000);

0 commit comments

Comments
 (0)