Skip to content

Conversation

@keegangroth
Copy link

Reason for this change

Improved mysterious log message when annotations were not provided for entities.

Description of changes

Add the entityRef to the error message

Description of how you validated changes

Modified a local copy, started backstage app and observed the log.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@keegangroth keegangroth requested a review from a team as a code owner May 31, 2025 13:50
@keegangroth
Copy link
Author

It might be even better to just return empty data in this case, so that the annotation is optional. I ended up filling in a bogus filter value to get that behavior.

@niallthomson
Copy link
Contributor

Hi @keegangroth thanks for the PR.

I'm also wondering if we should just return empty data, since cost insights frontend just can't seem to handle the current behavior.

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.

2 participants