Skip to content

Commit

Permalink
Merge pull request #1382 from JanssenProject/jans-core-318-3
Browse files Browse the repository at this point in the history
feat(jans-core): added more error logs if script is not loaded
  • Loading branch information
yuriyz committed May 18, 2022
2 parents 496b5b2 + 4084aeb commit ff65798
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ public BaseExternalType createExternalType(CustomScript customScript,
externalType = createExternalTypeFromStringWithPythonException(customScript);
}
} catch (Exception ex) {
log.error("Failed to prepare external type '{}', ex: '{}'", customScriptInum, ex);
log.error("Failed to prepare external type '{}', ex: '{}'", customScriptInum, ExceptionUtils.getStackTrace(ex));
log.trace("Script '{}'", customScript.getScript());
saveScriptError(customScript, ex, true);
return null;
}
Expand Down

0 comments on commit ff65798

Please sign in to comment.