console_exception!() { /* proc-macro */ }
Call the browser’s console.exception() function. MDN
console.exception()