Skip to content

Commit

Permalink
fix: tests & credo
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaAK committed Aug 23, 2024
1 parent 77682d9 commit 2e5bf90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/request_cache/plug.ex
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,9 @@ defmodule RequestCache.Plug do
defp log_error(error, conn, opts) do
{:current_stacktrace, stacktrace} = Process.info(self(), :current_stacktrace)

# credo:disable-for-lines:3
Logger.error(
"[RequestCache.Plug] recieved an error from #{inspect(request_cache_module(conn, opts))}",
# credo:disable-for-next-line
[crash_reason: {error, stacktrace}]
)
end
Expand Down

0 comments on commit 2e5bf90

Please sign in to comment.