Commit c66c4f0b authored by Jimmy Gong's avatar Jimmy Gong Committed by Commit Bot

Provide reasons for ConnectionAttempt() failures logs

Bug: 1106937
Change-Id: Ica9e835c591950ed66312f82b55fab3e79d6b5a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2401704Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Commit-Queue: Jimmy Gong <jimmyxgong@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805550}
parent d6b0a81f
...@@ -85,7 +85,8 @@ void ConnectionManagerImpl::SendMessage(const std::string& payload) { ...@@ -85,7 +85,8 @@ void ConnectionManagerImpl::SendMessage(const std::string& payload) {
void ConnectionManagerImpl::OnConnectionAttemptFailure( void ConnectionManagerImpl::OnConnectionAttemptFailure(
chromeos::secure_channel::mojom::ConnectionAttemptFailureReason reason) { chromeos::secure_channel::mojom::ConnectionAttemptFailureReason reason) {
PA_LOG(WARNING) << "AttemptConnection() failed to establish connection."; PA_LOG(WARNING) << "AttemptConnection() failed to establish connection with "
<< "error: " << reason << ".";
connection_attempt_.reset(); connection_attempt_.reset();
NotifyStatusChanged(); NotifyStatusChanged();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment