Skip to content

Conversation

@DriesVerachtert
Copy link
Contributor

@DriesVerachtert DriesVerachtert commented Oct 30, 2025

We're getting a lot of errors in the logs of entitycore for circuits with GUID 'undefined', all coming from core web app. This is a bit a stopgap: avoid such requests and raise an error instead, so hopefully we'll find the root cause.

Comment on lines +65 to +67
if (id == null) {
throw new Error(`circuit id is not valid ${id}`);
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should not be verified in the query builder level, it should be in the component/caller level
the function should be agnostic from any validation

Copy link
Collaborator

@bilalesi bilalesi Oct 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can look around to see where is used and fix it, or if you prefer to do it

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.

3 participants