Could someone please help me on how to avoid printing stack trace in graphql in case exception happens (e.g. sending invalid id to find a record or creating a record without sending a mandatory field)?
I'm using graphql-spqr-spring-boot-starter and getting logs printed in case invalid data is sent. Below are the screenshots:
Anyone's help will be much appreciated. Thanks!