4

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:

enter image description here

Eclipse console: enter image description here

Anyone's help will be much appreciated. Thanks!

Anita
  • 131
  • 1
  • 6

0 Answers0