JsCustom action deals with exceptions