Skip to content

Commit

Permalink
Merge pull request #23 from qbicsoftware/patch/verbose_errors
Browse files Browse the repository at this point in the history
add verbose errors to nanopore parser
  • Loading branch information
wow-such-code authored Jun 17, 2020
2 parents dc0d0ad + e3bc452 commit a15d572
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 a15d572

Please sign in to comment.