diff --git a/R/Application.R b/R/Application.R index 22dab39..7d27b17 100644 --- a/R/Application.R +++ b/R/Application.R @@ -547,7 +547,7 @@ Application = R6::R6Class( # HTTPError response x = x$response } else { - if (inherits(x, "simpleError")) { + if (inherits(x, "error")) { # means UNHANDLED exception in middleware self$logger$error( "",