Skip to content

Commit

Permalink
add verbose errors to nanopore parser
Browse files Browse the repository at this point in the history
  • Loading branch information
wow-such-code committed Jun 17, 2020
1 parent dc0d0ad commit e3bc452
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<artifactId>core-utils-lib</artifactId>

<version>1.4.3</version>
<version>1.4.4</version>
<name>Core Utilities Library</name>
<url>http://github.com/qbicsoftware/core-utils-lib</url>
<description>Collection of non-Vaadin, non-Liferay utilities.</description>
Expand Down
3 changes: 2 additions & 1 deletion src/main/groovy/life/qbic/utils/NanoporeParser.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit e3bc452

Please sign in to comment.