Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
54d5d531
Commit
54d5d531
authored
May 29, 2015
by
Wai Yi Leung
Browse files
Merge branch 'fix-hiden_error_msg' into 'develop'
Show all lines that do not belong to a stacktrace now See merge request !166
parents
4b234972
14b392de
Changes
1
Show whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetExecutable.scala
View file @
54d5d531
...
@@ -100,7 +100,7 @@ trait BiopetExecutable extends Logging {
...
@@ -100,7 +100,7 @@ trait BiopetExecutable extends Logging {
val
trace
=
(
sWriter
.
toString
.
split
(
"\n"
))
val
trace
=
(
sWriter
.
toString
.
split
(
"\n"
))
if
(!
logger
.
isDebugEnabled
)
{
if
(!
logger
.
isDebugEnabled
)
{
logger
.
error
(
trace
.
head
)
trace
.
filterNot
(
_
.
startsWith
(
"\tat"
)).
foreach
(
logger
.
error
(
_
)
)
logger
.
error
(
"For more info please run with -l debug"
)
logger
.
error
(
"For more info please run with -l debug"
)
}
else
{
}
else
{
trace
.
foreach
(
logger
.
debug
(
_
))
trace
.
foreach
(
logger
.
debug
(
_
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment