Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
limbra
limbra
Commits
afb2f846
Commit
afb2f846
authored
Jul 06, 2017
by
LE GAC Renaud
Browse files
Update controller harvest.run and run_all.
parent
aa080ce1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
controllers/harvest.py
controllers/harvest.py
+2
-6
No files found.
controllers/harvest.py
View file @
afb2f846
...
...
@@ -399,9 +399,7 @@ def run():
return
msg
except
Exception
as
e
:
log
=
tool
.
logs
[
-
1
]
msg
=
"<h4>Error on record %s (%s)</h4>"
%
(
log
.
url
,
log
.
collection
)
msg
+=
"<hr/>"
msg
=
"<hr/>"
msg
+=
CODE
(
traceback
.
format_exc
()).
xml
()
msg
+=
"<hr/>"
return
msg
...
...
@@ -467,9 +465,7 @@ def run_all():
return
msg
except
Exception
as
e
:
log
=
tool
.
logs
[
-
1
]
msg
=
"<h4>Error on record %s (%s)</h4>"
%
(
log
.
url
,
log
.
collection
)
msg
+=
"<hr/>"
msg
=
"<hr/>"
msg
+=
CODE
(
traceback
.
format_exc
()).
xml
()
msg
+=
"<hr/>"
return
msg
...
...
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