mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 01:08:01 +08:00
win: generate_dump: PLOG() when OpenProcess() fails
R=scottmg@chromium.org Review URL: https://codereview.chromium.org/1408353011 .
This commit is contained in:
parent
81ece89d6a
commit
1c1ce825bd
@ -154,7 +154,7 @@ int GenerateDumpMain(int argc, char* argv[]) {
|
||||
ScopedKernelHANDLE process(
|
||||
OpenProcess(kXPProcessAllAccess, false, options.pid));
|
||||
if (!process.is_valid()) {
|
||||
LOG(ERROR) << "could not open process " << options.pid;
|
||||
PLOG(ERROR) << "could not open process " << options.pid;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
#endif // OS_MACOSX
|
||||
|
Loading…
x
Reference in New Issue
Block a user