Skip to content

Console noise in the editor: an error on a normal state, and two logs for services that are not involved #1842

Description

@lexoyo

Three sources of console noise in the editor, from the worst to the most harmless.

1. console.error in bursts, on a state that is normal

console.error("selected and editor are required", null, null) is printed 16 times for a single interaction, just opening the Pages panel.

It comes from grapesjs-plugins/grapesjs-data-source/src/view/state-editor.ts:178, inside a getter, so it is called in a loop. The throw on the next line was commented out on purpose, but the console.error severity stayed.

"Nothing is selected" is a normal state, not an error. The real errors are lost in the noise.

2. Gitlab url: (empty) during a zip export

A connector that has nothing to do with the job speaks up.

3. A 404 on /api/onboarding and "Error while fetching user from brevo" on every start

Brevo is not configured on a developer machine, and it never will be, so this is permanent noise.

Expected

No error for a state that is normal, no error for a service that is not configured, and no log from a connector that is not involved.

Found during the manual test session of #1837, 26 August 2026.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions