boulder/canceled
Jacob Hoffman-Andrews d2a28264dd Log fewer spurious CT submission errors. (#3447)
With the CT policy changes, we cancel any outstanding requests in a
group once we've gotten a successful response from any log in that
group. That means various function calls will return early with an error
code indicating cancellation. We want to avoid logging such error codes,
because they were not really errors, they were intentional.

This change introduces a small utility package called "canceled", which
checks for both context.Canceled and the gRPC return code indicating
cancelled.
2018-02-16 09:26:12 -05:00
..
canceled.go Log fewer spurious CT submission errors. (#3447) 2018-02-16 09:26:12 -05:00
canceled_test.go Log fewer spurious CT submission errors. (#3447) 2018-02-16 09:26:12 -05:00