Skip to content

Commit

Permalink
feat(jans-core): added more error logs if script is not loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriyz committed May 18, 2022
1 parent 496b5b2 commit 4084aeb
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 4084aeb

Please sign in to comment.