public QueryMiddleware(OwinMiddleware next, Action<Exception> exceptionHandler) : base(next) { ExceptionHandler = exceptionHandler; }