Lower loglevel of resource insertion error

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-11-03 16:49:24 +01:00
parent 7401fc8273
commit d75a95cccd
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -120,7 +120,7 @@ defmodule Mobilizon.Resources do
{:ok, resource}
{:error, operation, reason, _changes} ->
Logger.error(
Logger.debug(
"Error while inserting resource when #{operation} because of #{inspect(reason)}"
)