Update documentation for stacktrace middleware.