if an exception is http, let middleware handle it