mirror of
https://github.com/corda/corda.git
synced 2025-01-23 04:48:09 +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
3793174bb0
commit
fce05f680a
@ -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