fix(postprocessing): fix multi-restart

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg
2024-06-25 11:32:01 +02:00
parent 721b32bd1e
commit f43397f1ee
2 changed files with 5 additions and 1 deletions

View File

@@ -246,7 +246,6 @@ func (pps *PostprocessingService) handleResumePPEvent(ctx context.Context, ev ev
for _, id := range ids {
if err := pps.resumePP(ctx, id); err != nil {
pps.log.Error().Str("uploadID", id).Err(err).Msg("cannot resume upload")
return fmt.Errorf("cannot resume upload: %w", err)
}
}
return nil