You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When GraphQL query results in an error, as a developer I am able to handle and log the error according to my needs.
Actual Behaviour
When GraphQL query results in an error, the stack trace is always logged, before I am able to handle it.
The stacktraces can be very long. This makes finding actual issues harder and log file increases in size dramatically.
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Set up commerce endpoint on AEM
Make the request that ends up in error (e.g. 500) via MagentoGraphqlClient
Expected Behaviour
When GraphQL query results in an error, as a developer I am able to handle and log the error according to my needs.
Actual Behaviour
When GraphQL query results in an error, the stack trace is always logged, before I am able to handle it.
The stacktraces can be very long. This makes finding actual issues harder and log file increases in size dramatically.
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version
Sample Code that illustrates the problem
https://github.com/adobe/aem-core-cif-components/blob/master/bundles/core/src/main/java/com/adobe/cq/commerce/core/components/internal/client/MagentoGraphqlClientImpl.java#L281
Logs taken while reproducing problem
The text was updated successfully, but these errors were encountered: