Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed Jul 1, 2022
1 parent 47595a6 commit fee4ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/services/owncloud/ocdav/copy.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ func (s *svc) prepareCopy(ctx context.Context, w http.ResponseWriter, r *http.Re

isChild, err := s.referenceIsChildOf(ctx, client, dstRef, srcRef)
if err != nil {
log.Error().Err(err).Msg("error while trying to detect recursive move operation")
log.Error().Err(err).Msg("error while trying to detect recursive copy operation")
w.WriteHeader(http.StatusInternalServerError)
}
if isChild {
Expand Down

0 comments on commit fee4ad1

Please sign in to comment.