diff --git a/monitor/state.go b/monitor/state.go index 6595988..48097e4 100644 --- a/monitor/state.go +++ b/monitor/state.go @@ -61,7 +61,8 @@ type StateProvider interface { // feailure is not associated with a log. NotifyHealthCheckFailure(context.Context, *loglist.Log, HealthCheckFailure) error - // Called when an error occurs. The log is nil if the error is - // not associated with a log. Note that most errors are transient. + // Called when a non-fatal error occurs. The log is nil if the error is + // not associated with a log. Note that most errors are transient, and + // certspotter will retry the failed operation later. NotifyError(context.Context, *loglist.Log, error) error }