Skip to content

[GraphQl] GraphQl exceptions are always logged in exception log, although they are normal use exceptions. #34973

Open
@Hexmage

Description

@Hexmage

Summary (*)

Every exception thrown by the graphql endpoint is logged in the exception log. Even though they are functional exceptions that are used to make the frontend work. Because these exceptions are so common, they fill up the exception.log very fast making finding breaking exceptions a lot more cumbersome. The same scenarios through the regular frontend or the api's would not appear in the exception.log.

Examples (*)

As an example when a customer fails to login because they entered an invalid password, it triggers an exception which is logged in the exception.log.

Proposed solution

Don't automatically log the GraphQl "is client safe" exceptions to the exception.log. Either move this to it's own log and/or add a debug option to the backend.


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users with no workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions