[source,javascript] ---- doSomething(); ---- or [source,javascript] ---- try { doSomething(); } catch (ex) { console.err(ex); throw ex; } ----