diff --git a/internal/profiles/service.go b/internal/profiles/service.go index 8bb8e4ddcc..6a6abae5bc 100644 --- a/internal/profiles/service.go +++ b/internal/profiles/service.go @@ -285,7 +285,7 @@ func (p *profileService) UpdateProfile( } if err := p.updateSelectors(ctx, updatedProfile.ID, qtx, profile.GetSelection()); err != nil { - return nil, status.Errorf(codes.Internal, "error updating profile: %v", err) + return nil, err } logger.BusinessRecord(ctx).Profile = logger.Profile{Name: updatedProfile.Name, ID: updatedProfile.ID}