currently it only shows the error message. the trace can be retrieved from the exception object.
https://www.php.net/manual/en/exception.gettrace.php