-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
kind/supportSupport requestSupport requestresolution/wontfixThis will not be worked onThis will not be worked on
Description
Is there a way for different environments (development, production) to use different error descriptions?
For example, in a dev environment, errors can be displayed completely:
{
"code": "internal",
"msg": "internal error",
"meta": {
"cause": "Secret Exception Message"
}
}But in the prod environment the original error message should be hidden:
{
"code": "internal",
"msg": "internal error",
"meta": {
"cause": "Internal Server Error"
}
}Is there any possibility to implement this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/supportSupport requestSupport requestresolution/wontfixThis will not be worked onThis will not be worked on