Ignore error when partial are ok
Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
@@ -1238,7 +1238,7 @@ func (s *OrganizationService) GetProfilesByIDs(
|
||||
conn,
|
||||
scope,
|
||||
profileIDs,
|
||||
); err != nil {
|
||||
); err != nil && !errors.Is(err, coredata.ErrResourceNotFound) {
|
||||
return fmt.Errorf("cannot load profiles by ids: %w", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user