Additonal Plugin Error Details in v5

Hey folks,

I have a custom plugin deployed on v4 and if it encounters an error, the response would be below:

Screenshot 2023-05-24 at 9.59.23 PM

However, in v5, the error message returns additional information of the error back to the client:

Screenshot 2023-05-24 at 10.00.15 PM

How can I suppress this additional detail about the error so that it isn’t visible to the client?