diff --git a/src/lytedev/http_server.ex b/src/lytedev/http_server.ex index 75fcfe7..77a4afb 100644 --- a/src/lytedev/http_server.ex +++ b/src/lytedev/http_server.ex @@ -23,6 +23,10 @@ defmodule Lytedev.HttpServer do Logger.info("#{__MODULE__} started listening on port #{port()}.") end + def handle_event(:request_error, data, args) do + Logger.error(inspect({data, args})) + end + def handle_event(ev, data, args) do Logger.debug(inspect(%{event: ev, data: data, args: args})) :ok