Skip to content

Commit

Permalink
Merge pull request #106 from aserto-dev/edge-sync-err
Browse files Browse the repository at this point in the history
exit on producer|subscriber err
  • Loading branch information
aserto-bot authored Nov 7, 2024
2 parents ea860f1 + 813bf53 commit 3dd0c27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/datasync/directory.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ func (s *Sync) syncDirectory(ctx context.Context, conn *grpc.ClientConn) error {
})

if err := g.Wait(); err != nil {
s.logger.Debug().Err(err).Msg(syncRun)
s.logger.Error().Err(err).Msg(syncRun)
return err
}

if Has(s.options.Mode, Diff) {
Expand Down

0 comments on commit 3dd0c27

Please sign in to comment.