Turn log warning message into debug

This commit is contained in:
Francesco Siddi 2019-02-03 15:50:48 +01:00
parent 6b6a5310f8
commit 5660f4b606

View File

@ -53,7 +53,7 @@ def find_for_comment(project, node):
'_deleted': {'$ne': True} '_deleted': {'$ne': True}
}}, api=api) }}, api=api)
except ResourceNotFound: except ResourceNotFound:
log.warning( log.debug(
'url_for_node(node_id=%r): Unable to find parent node %r', 'url_for_node(node_id=%r): Unable to find parent node %r',
node['_id'], parent.parent) node['_id'], parent.parent)
raise ValueError('Unable to find parent node %r' % parent.parent) raise ValueError('Unable to find parent node %r' % parent.parent)