MCPcopy Index your code
hub / github.com/bytebase/bytebase / LogComputeDiffEnd

Method LogComputeDiffEnd

backend/plugin/db/driver.go:217–230  ·  view source on GitHub ↗
(e string)

Source from the content-addressed store, hash-verified

215}
216
217func (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
232func (o *ExecuteOptions) LogDatabaseSyncStart() {
233 if o == nil || o.CreateTaskRunLog == nil {

Callers 1

runDeclarativeReleaseMethod · 0.95

Calls 2

BBErrorFunction · 0.92
CreateTaskRunLogMethod · 0.80

Tested by

no test coverage detected