BUG Fix: Restore: Operations (#2316)

BUG FIX: Adds clause to return an error if experienced during path building of a collection. 

## Description

<!-- Insert PR description-->

## Does this PR need a docs update or release note?
- [x]  No 

## Type of change

<!--- Please check the type of change your PR introduces: --->
- [x] 🐛 Bugfix
- related to #2257
## Test Plan

<!-- How will this be tested prior to merging.-->
- [x] 💪 Manual
This commit is contained in:
Danny 2023-01-30 11:51:32 -05:00 committed by GitHub
parent 27e935301c
commit d763d95976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,5 +309,9 @@ func formatDetailsForRestoration(
paths[i] = p paths[i] = p
} }
if errs != nil {
return nil, errs
}
return paths, nil return paths, nil
} }