Skip to content

Commit

Permalink
fix: rejected promise
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnCoene committed Jan 15, 2024
1 parent 60508af commit 1728cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/routing.R
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ Routing <- R6::R6Class(
onRejected = function(error){
message(error)
.globals$errorLog$log(req$REQUEST_METHOD, "on", req$PATH_INFO, "-", "Server error")
private$.routes[[i]]$error(request, res)
private$.routes[[i]]$error(request, res, error)
}
)
)
Expand Down

0 comments on commit 1728cff

Please sign in to comment.