Skip to content

Commit 13e6cdd

Browse files
committed
Fix error check
1 parent 0ff4ae7 commit 13e6cdd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/files/fileobject/service.go

+3
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ func (s *service) deleteMigratedFilesInNonPersonalSpaces(ctx context.Context) er
185185
},
186186
},
187187
})
188+
if err != nil {
189+
return err
190+
}
188191
if len(objectIds) > 0 {
189192
err = s.objectArchiver.SetPagesIsArchived(nil, pb.RpcObjectListSetIsArchivedRequest{
190193
ObjectIds: objectIds,

0 commit comments

Comments
 (0)