signedJWT.sign(signer);
String jwt = signedJWT.serialize();
msgCtxt.setVariable(varName("jwt"), jwt);
}
catch (Exception e) {
<BUG>if (debug) { e.printStackTrace(); }
</BUG>
String error = e.toString();
msgCtxt.setVariable(varName("error"), error);
int ch = error.indexOf(':');

signedJWT.sign(signer);
String jwt = signedJWT.serialize();
msgCtxt.setVariable(varName("jwt"), jwt);
}
catch (Exception e) {
if (debug) { e.printStackTrace(); /* to MP system.log */ }
String error = e.toString();
msgCtxt.setVariable(varName("error"), error);
int ch = error.indexOf(':');
