registerLogErrorHandler | R Documentation |
Registers a top-level error handler that makes a log entry and exiting with an error status
registerLogErrorHandler(logger, die = TRUE)
logger |
a yogilogger object to be used for logging any fatal errors |
die |
a logical value indicationg whether the process should exit with an error status upon handling the error. Defaults to TRUE |
When an error occurs, the handler will catch it, make a log entry detailing the error message and stack trace, and then exit with an error status (unless overridden with die=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.