(e string)
| 215 | } |
| 216 | |
| 217 | func (o *ExecuteOptions) LogComputeDiffEnd(e string) { |
| 218 | if o == nil || o.CreateTaskRunLog == nil { |
| 219 | return |
| 220 | } |
| 221 | err := o.CreateTaskRunLog(time.Now(), &storepb.TaskRunLog{ |
| 222 | Type: storepb.TaskRunLog_COMPUTE_DIFF_END, |
| 223 | ComputeDiffEnd: &storepb.TaskRunLog_ComputeDiffEnd{ |
| 224 | Error: e, |
| 225 | }, |
| 226 | }) |
| 227 | if err != nil { |
| 228 | slog.Warn("failed to log compute diff end", log.BBError(err)) |
| 229 | } |
| 230 | } |
| 231 | |
| 232 | func (o *ExecuteOptions) LogDatabaseSyncStart() { |
| 233 | if o == nil || o.CreateTaskRunLog == nil { |
no test coverage detected