Google returns us error messages but does not include the code or status. For us this means we will return the correct error message but it will be defaulted to a 500 Internal which over inflates our metrics. This is the second pass at trying to categorize the messages to the correct status code.
These magic strings are taken from the pantheon logs where I look to see if there are any 500 internal errors that are miscatagorized.
Google returns us error messages but does not include the code or status. For us this means we will return the correct error message but it will be defaulted to a 500 Internal which over inflates our metrics. This is the second pass at trying to categorize the messages to the correct status code.
These magic strings are taken from the pantheon logs where I look to see if there are any 500 internal errors that are miscatagorized.