summaryrefslogtreecommitdiff
path: root/common/utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common/utils.cc')
-rw-r--r--common/utils.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/utils.cc b/common/utils.cc
index 41a75f80..a09b4253 100644
--- a/common/utils.cc
+++ b/common/utils.cc
@@ -1110,6 +1110,8 @@ string CodeToString(ErrorCode code) {
return "ErrorCode::kOmahaRequestXMLHasEntityDecl";
case ErrorCode::kFilesystemVerifierError:
return "ErrorCode::kFilesystemVerifierError";
+ case ErrorCode::kUserCanceled:
+ return "ErrorCode::kUserCanceled";
// Don't add a default case to let the compiler warn about newly added
// error codes which should be added here.
}