Update src/internal/connector/sharepoint/restore.go

Update for logging error.

Co-authored-by: Keepers <ryanfkeepers@gmail.com>
This commit is contained in:
Danny 2023-01-28 15:16:25 -05:00 committed by GitHub
parent c6fcc4f1d7
commit c439ffd74c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,7 +329,7 @@ func RestorePageCollection(
itemPath, err := dc.FullPath().Append(itemData.UUID(), true)
if err != nil {
logger.Ctx(ctx).DPanicw("transforming item to full path", "error", err)
logger.Ctx(ctx).Errorw("transforming item to full path", "error", err)
errUpdater(itemData.UUID(), err)
continue