Commit e10fbd87 authored by Tomáš Peterka's avatar Tomáš Peterka Committed by Rafael Monnerat

[slapproxy] Nonexisting partition logs as warning not as an error

parent 374fa857
......@@ -558,7 +558,7 @@ def getRootPartition(reference):
p = 'SELECT * FROM %s WHERE reference=?'
partition = execute_db('partition', p, [reference], one=True)
if partition is None:
app.logger.error("Nonexisting partition \"{}\". Known are\n{!s}".format(
app.logger.warning("Nonexisting partition \"{}\". Known are\n{!s}".format(
reference, execute_db("partition", "select reference, requested_by from %s")))
return None
......
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