mirror of
https://github.com/corda/corda.git
synced 2025-02-12 13:45:48 +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
8c9bfccb9e
commit
8a30efc52f
@ -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…
x
Reference in New Issue
Block a user