Skip to content

Commit

Permalink
[Windows] Output the error code when sending sync broker message fail…
Browse files Browse the repository at this point in the history
…s in mojo/edk

R=rockot@chromium.org

Change-Id: I37bb122815288605e5df28ba9090eff02de8c864
Reviewed-on: https://chromium-review.googlesource.com/887023
Reviewed-by: Ken Rockot <rockot@chromium.org>
Commit-Queue: Ken Rockot <rockot@chromium.org>
Cr-Commit-Position: refs/heads/master@{#539070}
  • Loading branch information
Gevorg Voskanyan authored and Commit Bot committed Feb 26, 2018
1 parent 300e022 commit 81cd118
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,7 @@ TeamSpeak Systems GmbH <*@teamspeak.com>
The Chromium Authors <*@chromium.org>
The MathWorks, Inc. <binod.pant@mathworks.com>
Torchmobile Inc.
Upwork <*@cloud.upwork.com>
Venture 3 Systems LLC <*@venture3systems.com>
Vewd Software AS <*@vewd.com>
Yandex LLC <*@yandex-team.ru>
2 changes: 1 addition & 1 deletion mojo/edk/system/broker_win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ scoped_refptr<PlatformSharedBuffer> Broker::GetSharedBuffer(size_t num_bytes) {
&bytes_written, nullptr);
if (!result ||
static_cast<size_t>(bytes_written) != out_message->data_num_bytes()) {
LOG(ERROR) << "Error sending sync broker message";
PLOG(ERROR) << "Error sending sync broker message";
return nullptr;
}

Expand Down

0 comments on commit 81cd118

Please sign in to comment.