mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
only generate crash dumps for access violations and divides-by-zero
Some apps and libraries may generate recoverable SEH exceptions on Windows, in which cases we don't want to waste time and disk space generating memory dumps.
This commit is contained in:
parent
9d636c7ebb
commit
17a376c966
@ -974,13 +974,11 @@ handleException(LPEXCEPTION_POINTERS e)
|
||||
|
||||
if (jump) {
|
||||
return EXCEPTION_CONTINUE_EXECUTION;
|
||||
} else if (system->crashDumpDirectory) {
|
||||
dump(e, system->crashDumpDirectory);
|
||||
}
|
||||
}
|
||||
|
||||
if (system->crashDumpDirectory) {
|
||||
dump(e, system->crashDumpDirectory);
|
||||
}
|
||||
|
||||
return EXCEPTION_CONTINUE_SEARCH;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user