Lower loglevel of resource insertion error
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
7401fc8273
commit
d75a95cccd
|
@ -120,7 +120,7 @@ defmodule Mobilizon.Resources do
|
||||||
{:ok, resource}
|
{:ok, resource}
|
||||||
|
|
||||||
{:error, operation, reason, _changes} ->
|
{:error, operation, reason, _changes} ->
|
||||||
Logger.error(
|
Logger.debug(
|
||||||
"Error while inserting resource when #{operation} because of #{inspect(reason)}"
|
"Error while inserting resource when #{operation} because of #{inspect(reason)}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue