Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(637)

Unified Diff: tokenserver/appengine/impl/certconfig/rpc_fetch_crl.go

Issue 2963503003: [errors] Greatly simplify common/errors package. (Closed)
Patch Set: fix nits Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « milo/build_source/swarming/buildinfo.go ('k') | tokenserver/appengine/impl/utils/policy/policy.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tokenserver/appengine/impl/certconfig/rpc_fetch_crl.go
diff --git a/tokenserver/appengine/impl/certconfig/rpc_fetch_crl.go b/tokenserver/appengine/impl/certconfig/rpc_fetch_crl.go
index 6d6e426bee9d59b97f258a716ca662ac8740fb39..5b78a3216cc4eed16ec88239c5fe903c125e9cf8 100644
--- a/tokenserver/appengine/impl/certconfig/rpc_fetch_crl.go
+++ b/tokenserver/appengine/impl/certconfig/rpc_fetch_crl.go
@@ -142,8 +142,8 @@ func fetchCRL(c context.Context, cfg *admin.CertificateAuthorityConfig, knownETa
// Transient error?
if resp.StatusCode >= http.StatusInternalServerError {
logging.Warningf(c, "GET %s - HTTP %d; %q", cfg.CrlUrl, resp.StatusCode, string(blob))
- return nil, "", errors.Reason("server replied with HTTP %(code)d").
- D("code", resp.StatusCode).Tag(transient.Tag).Err()
+ return nil, "", errors.Reason("server replied with HTTP %d", resp.StatusCode).
+ Tag(transient.Tag).Err()
}
// Something we don't support or expect?
« no previous file with comments | « milo/build_source/swarming/buildinfo.go ('k') | tokenserver/appengine/impl/utils/policy/policy.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698