Skip to content

ATLAS-5257: searchRelatedEntities - Return empty result for missing relationship label instead of throwing exception#575

Open
sheetalshah1007 wants to merge 1 commit intoapache:masterfrom
sheetalshah1007:ATLAS-5257
Open

ATLAS-5257: searchRelatedEntities - Return empty result for missing relationship label instead of throwing exception#575
sheetalshah1007 wants to merge 1 commit intoapache:masterfrom
sheetalshah1007:ATLAS-5257

Conversation

@sheetalshah1007
Copy link
Contributor

What changes were proposed in this pull request?

When no edges exist for the given relation on the entity, the method now logs a warning and returns an empty AtlasSearchResult instead of throwing a 404 exception, preventing unnecessary error noise for valid but empty relationships.

…elationship label instead of throwing exception
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant