Set Logger level to error
This commit is contained in:
parent
be0cca9afd
commit
6c9929b809
|
@ -76,15 +76,15 @@ def fetch_object_from_id(id, options \\ []) do
|
||||||
{:error, "Max thread distance exceeded."}
|
{:error, "Max thread distance exceeded."}
|
||||||
|
|
||||||
{:containment, e} ->
|
{:containment, e} ->
|
||||||
Logger.info("Error while fetching #{id}: Object containment failed. #{inspect(e)}")
|
Logger.error("Error while fetching #{id}: Object containment failed. #{inspect(e)}")
|
||||||
{:error, e}
|
{:error, e}
|
||||||
|
|
||||||
{:transmogrifier, {:error, {:reject, e}}} ->
|
{:transmogrifier, {:error, {:reject, e}}} ->
|
||||||
Logger.info("Rejected #{id} while fetching: #{inspect(e)}")
|
Logger.error("Rejected #{id} while fetching: #{inspect(e)}")
|
||||||
{:reject, e}
|
{:reject, e}
|
||||||
|
|
||||||
{:transmogrifier, {:reject, e}} ->
|
{:transmogrifier, {:reject, e}} ->
|
||||||
Logger.info("Rejected #{id} while fetching: #{inspect(e)}")
|
Logger.error("Rejected #{id} while fetching: #{inspect(e)}")
|
||||||
{:reject, e}
|
{:reject, e}
|
||||||
|
|
||||||
{:transmogrifier, _} = e ->
|
{:transmogrifier, _} = e ->
|
||||||
|
|
Loading…
Reference in New Issue