Skip to content

Commit a107193

Browse files
committed
Review suggestion
Signed-off-by: Florent Poinsard <[email protected]>
1 parent 29339ad commit a107193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/vt/mysqlctl/builtinbackupengine.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ func (be *BuiltinBackupEngine) restoreFiles(ctx context.Context, params RestoreP
10551055
// We check for errors before checking if the context is canceled on purpose, if there was an
10561056
// error, the context would have been canceled already.
10571057
if rec.HasErrors() {
1058-
params.Logger.Infof("Failed to restore files due to error.")
1058+
params.Logger.Errorf("Failed to restore files due to error: %v", bh.Error())
10591059
return
10601060
}
10611061

0 commit comments

Comments
 (0)