Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting the error option is itself causing an error because of not being in a reactive context #62

Open
daattali opened this issue Jun 30, 2020 · 0 comments

Comments

@daattali
Copy link
Collaborator

stanpumpR/server.R

Lines 14 to 23 in 9fe8753

options(error = function() {
x <- geterrmessage()
if (!isShinyLocal) {
cat("Error detected in stanpumpR\n")
cat(x, "\n")
cat("URL: ", prior$url, "\n")
sendError(url = prior$url, errorMessage = x)
}
options(error = NULL)
})

This causes an error because it references a reactive value not in a reactive context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant