diff options
Diffstat (limited to 'common/error_code_utils.cc')
-rw-r--r-- | common/error_code_utils.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/error_code_utils.cc b/common/error_code_utils.cc index 0a015eb2..313a15f8 100644 --- a/common/error_code_utils.cc +++ b/common/error_code_utils.cc @@ -146,8 +146,10 @@ string ErrorCodeToString(ErrorCode code) { return "ErrorCode::kNonCriticalUpdateInOOBE"; case ErrorCode::kPayloadTimestampError: return "ErrorCode::kPayloadTimestampError"; - // Don't add a default case to let the compiler warn about newly added - // error codes which should be added here. + case ErrorCode::kUpdatedButNotActive: + return "ErrorCode::kUpdatedButNotActive"; + // Don't add a default case to let the compiler warn about newly added + // error codes which should be added here. } return "Unknown error: " + base::UintToString(static_cast<unsigned>(code)); |