This does not solve anything and I will close this pr.

The error seems to occur when the `ContextErrorException` is being thrown. For example if it is returned rather than thrown the error message displays as expected.

Any input on this?