Index: util/win/registration_protocol_win.cc |
diff --git a/util/win/registration_protocol_win.cc b/util/win/registration_protocol_win.cc |
index 3e0fdf213985a4bc81ae295bd3377140463045da..0f1062c786be0b7e4618132e5bd1b6ef1fa90f89 100644 |
--- a/util/win/registration_protocol_win.cc |
+++ b/util/win/registration_protocol_win.cc |
@@ -59,13 +59,14 @@ bool SendToCrashHandlerServer(const base::string16& pipe_name, |
return false; |
} |
if (bytes_read != sizeof(*response)) { |
- LOG(ERROR) << "TransactNamedPipe read incorrect number of bytes"; |
+ LOG(ERROR) << "TransactNamedPipe: expected " << sizeof(*response) |
+ << ", observed " << bytes_read; |
return false; |
} |
return true; |
} |
- LOG(ERROR) << "failed to connect after retrying"; |
+ PLOG(ERROR) << "CreateFile"; |
return false; |
} |