Skip to content

Commit

Permalink
Change error checking to look for error class instead of simpleError -
Browse files Browse the repository at this point in the history
…fixes #207
  • Loading branch information
hafen authored and dselivanov committed Mar 6, 2024
1 parent 2f84b69 commit d3fb461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/Application.R
Original file line number Diff line number Diff line change
Expand Up @@ -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(
"",
Expand Down

0 comments on commit d3fb461

Please sign in to comment.