Skip to content

Commit 132299d

Browse files
committed
expose sync error from http api
1 parent 07b6abf commit 132299d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sync.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ func syncRoots(ctx context.Context) error {
183183
}
184184
err = job.Run(ctx)
185185
if err != nil {
186+
syncStatus = job.String()
186187
return err
187188
}
188189
}

0 commit comments

Comments
 (0)