library(shiny)
badservercall <- function() {
stop("server boom")
}
function(input, output, session) {
on.exit(stopApp())
badservercall()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.