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
genotoul-bioinfo
D-GENIES
Commits
31d4ae1b
Commit
31d4ae1b
authored
Jul 04, 2018
by
Floreal Cabanettes
Browse files
Improve traceback of errors
parent
302658fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dgenies/lib/job_manager.py
View file @
31d4ae1b
...
...
@@ -1394,6 +1394,9 @@ class JobManager:
self
.
_set_analytics_job_status
(
"fail-map"
)
except
Exception
as
e
:
traceback
.
print_exc
()
with
open
(
self
.
logs
,
'a'
)
as
f
:
f
.
write
(
str
(
e
))
f
.
write
(
traceback
.
format_exc
())
self
.
set_job_status
(
"fail"
,
"Your job has failed for an unexpected reason. Please contact the support if"
"the problem persists."
)
if
MODE
==
"webserver"
:
...
...
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