From e3bc45299f9d57df3aa21d0070779c0ef4948aec Mon Sep 17 00:00:00 2001 From: wow-such-code Date: Wed, 17 Jun 2020 16:13:57 +0200 Subject: [PATCH] add verbose errors to nanopore parser --- pom.xml | 2 +- src/main/groovy/life/qbic/utils/NanoporeParser.groovy | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 4d4b03b2..679b8e12 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ core-utils-lib - 1.4.3 + 1.4.4 Core Utilities Library http://github.com/qbicsoftware/core-utils-lib Collection of non-Vaadin, non-Liferay utilities. diff --git a/src/main/groovy/life/qbic/utils/NanoporeParser.groovy b/src/main/groovy/life/qbic/utils/NanoporeParser.groovy index 481ab8b6..327bb781 100644 --- a/src/main/groovy/life/qbic/utils/NanoporeParser.groovy +++ b/src/main/groovy/life/qbic/utils/NanoporeParser.groovy @@ -44,7 +44,8 @@ class NanoporeParser { } catch (ValidationException validationException) { log.error("Specified directory could not be validated") // we have to fetch all validation exceptions - def causes = validationException.getCausingExceptions().collect{ it.message }.join("\n") + def causes = validationException.getAllMessages().collect{ it }.join("\n") +// def causes = validationException.getCausingExceptions().collect{ it.message }.join("\n") log.error(causes) throw validationException }