Wrap an expression with this function, and on error it will POST error stacktrace to honeybadger
1 | with_logging(expr, message = "NA", tags = list())
|
expr |
expression. Expression to be evaluated. |
message |
character. Message to be displayed on henoeybadger for this error. |
tags |
list. Additional tags for sorting on honeybadger UI. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.