When I try to use a [json-logger](https://blogs.mulesoft.com/dev/anypoint-platform-dev/json-logging-mule-4/) in Mule 4. I'm getting this error. I'm trying to log a error object here but it is not getting successfull. Please find the error object below.

[![json-logger properties](https://i.stack.imgur.com/Q5nVA.png)](https://i.stack.imgur.com/Q5nVA.png)

[![error-object](https://i.stack.imgur.com/05Z7y.png)](https://i.stack.imgur.com/05Z7y.png)