WS-2019.1.1 <martin@Cyan-Corvus-414 Update JavaScript.xml

This commit is contained in:
Martin Donnelly 2019-05-21 10:48:42 +01:00
parent 2769a4071e
commit 223fec27de

View File

@ -1,5 +1,5 @@
<templateSet group="JavaScript">
<template name="__catch" value="try{&#10;&#10;}&#10;catch( err) {&#10; logger.error(err);&#10;}" description="try catch logger" toReformat="false" toShortenFQNames="true">
<template name="__catch" value="try{&#10;&#10;}&#10;catch( err) {&#10; logger.error(err);&#10; this.emit('recover');&#10;}" description="try catch logger" toReformat="false" toShortenFQNames="true">
<context>
<option name="JAVA_SCRIPT" value="true" />
</context>