Skip to content

Commit

Permalink
Fix Logger failure type detection
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed Mar 11, 2023
1 parent 0760b0f commit f1b89c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ class LoggerHelper {
static protected void appendFormattedMessage( StringBuilder buffer, ILoggingEvent event, Throwable fail, Session session) {
final className = session?.script?.getClass()?.getName()
final message = event.getFormattedMessage()
final quiet = fail instanceof AbortOperationException || fail instanceof ProcessException || ScriptRuntimeException
final quiet = fail instanceof AbortOperationException || fail instanceof ProcessException || fail instanceof ScriptRuntimeException
final normalize = { String str -> str ?. replace("${className}.", '')}
List error = fail ? findErrorLine(fail) : null

Expand Down

0 comments on commit f1b89c1

Please sign in to comment.