Also print error message when failed to talk to Omaha.

Print the error message for all failures, include failing to talk to Omaha.

Bug:25598547
Test:emerge-peppy update_engine
     'update_engine_client --update --follow' without devserver
     print the expected error message

Change-Id: Ie39340c8e97468a949d618016b14a22a32f898b6
diff --git a/payload_state.cc b/payload_state.cc
index 04b6579..d459d55 100644
--- a/payload_state.cc
+++ b/payload_state.cc
@@ -246,6 +246,7 @@
   ErrorCode base_error = utils::GetBaseErrorCode(error);
   LOG(INFO) << "Updating payload state for error code: " << base_error
             << " (" << utils::ErrorCodeToString(base_error) << ")";
+  attempt_error_code_ = base_error;
 
   if (candidate_urls_.size() == 0) {
     // This means we got this error even before we got a valid Omaha response
@@ -267,7 +268,6 @@
       break;
   }
 
-  attempt_error_code_ = base_error;
 
   switch (base_error) {
     // Errors which are good indicators of a problem with a particular URL or