Skip to content

Commit f1b89c1

Browse files
committed
Fix Logger failure type detection
Signed-off-by: Paolo Di Tommaso <[email protected]>
1 parent 0760b0f commit f1b89c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/nextflow/src/main/groovy/nextflow/util/LoggerHelper.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ class LoggerHelper {
442442
static protected void appendFormattedMessage( StringBuilder buffer, ILoggingEvent event, Throwable fail, Session session) {
443443
final className = session?.script?.getClass()?.getName()
444444
final message = event.getFormattedMessage()
445-
final quiet = fail instanceof AbortOperationException || fail instanceof ProcessException || ScriptRuntimeException
445+
final quiet = fail instanceof AbortOperationException || fail instanceof ProcessException || fail instanceof ScriptRuntimeException
446446
final normalize = { String str -> str ?. replace("${className}.", '')}
447447
List error = fail ? findErrorLine(fail) : null
448448

0 commit comments

Comments
 (0)