this line is setting the status code always to 500 https://github.com/esbenp/heimdal/blob/master/src/Formatters/ExceptionFormatter.php#L13