Commit 94e19641 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update controllers/harvest/edit_insert to fix bugs.

parent c5b5a0fe
......@@ -190,7 +190,7 @@ def edit_insert():
check.get_my_authors(record, sort=True)
except CheckException as e:
logging.debug(str(e))
logger.debug(str(e))
pass
fauthor = record.first_author()
......@@ -208,7 +208,7 @@ def edit_insert():
"collaboration",
record.collaboration())
except ToolException as e:
logging.debug(str(e))
logger.debug(str(e))
pass
values["PublicationsId_collaborations"] = int(recId)
......@@ -244,7 +244,7 @@ def edit_insert():
record.paper_editor())
except ToolException as e:
logging.debug(str(e))
logger.debug(str(e))
pass
values["PublicationsId_publishers"] = int(recId)
......@@ -262,7 +262,7 @@ def edit_insert():
check.conference_date(record)
except CheckException as e:
logging.debug(str(e))
logger.debug(str(e))
pass
if isinstance(record, RecordConf):
......@@ -285,7 +285,7 @@ def edit_insert():
record.conference_country())
except ToolException as e:
logging.debug(str(e))
logger.debug(str(e))
pass
values["PublicationsId_countries"] = int(recId)
......@@ -310,7 +310,7 @@ def edit_insert():
try:
check.submitted(record)
except CheckException as e:
except (CheckException, ToolException) as e:
logger.debug(str(e))
pass
......
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