Add a logger for comment creation failure
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
c1effa18ad
commit
aee827df35
@ -150,6 +150,11 @@ defmodule Mobilizon.Service.ActivityPub.Utils do
|
||||
Logger.info("comment inserted")
|
||||
Logger.info(inspect(comm))
|
||||
:ok
|
||||
else
|
||||
err ->
|
||||
Logger.error("Error while inserting a remote comment inside database")
|
||||
Logger.error(inspect err)
|
||||
{:error, err}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user