create gists
This commit is contained in:
parent
79a17290d5
commit
43a8412f06
90 changed files with 1777 additions and 2107 deletions
|
|
@ -1,6 +1,5 @@
|
|||
defmodule ZoeyscomputerWeb.DiscordHandler do
|
||||
require Logger
|
||||
alias ElixirSense.Log
|
||||
alias ExAws.S3
|
||||
import Plug.Conn
|
||||
import Mogrify
|
||||
|
|
@ -15,7 +14,7 @@ defmodule ZoeyscomputerWeb.DiscordHandler do
|
|||
|
||||
def call(%{path_info: ["images", _id | _]} = conn, _opts) do
|
||||
user_agent = List.first(get_req_header(conn, "user-agent"))
|
||||
request_id = Logger.metadata()[:request_id]
|
||||
Logger.metadata()[:request_id]
|
||||
|
||||
Logger.info("Processing image request:\n user_agent: #{user_agent}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue