Only show error page if the request is not XHR
Add exception extension to retrieve the stacktrace binding
Add binding_of_caller dependency
Load the middleware