Commit afb2f846 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update controller harvest.run and run_all.

parent aa080ce1
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment