Grammar consistency
Most log messages are sentence fragments so make them consistent by removing periods. Log messages that are expressing urgency with ! or pending more work with "..." are OK.
This commit is contained in:
parent
402e775a80
commit
04395cb9bd
4 changed files with 5 additions and 5 deletions
|
|
@ -36,9 +36,9 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do
|
|||
def inbox(conn, params) do
|
||||
headers = Enum.into(conn.req_headers, %{})
|
||||
if !(String.contains?(headers["signature"] || "", params["actor"])) do
|
||||
Logger.info("Signature not from author, relayed message, ignoring.")
|
||||
Logger.info("Signature not from author, relayed message, ignoring")
|
||||
else
|
||||
Logger.info("Signature error.")
|
||||
Logger.info("Signature error")
|
||||
Logger.info("Could not validate #{params["actor"]}")
|
||||
Logger.info(inspect(conn.req_headers))
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue