Current section

Files

Jump to
islands_engine lib islands engine error.ex
Raw

lib/islands/engine/error.ex

defmodule Islands.Engine.Error do
@moduledoc false
require Logger
@spec log(any, any) :: :ok
def log(non_matched_value, request) do
Logger.error("""
`handle_call` request:
#{inspect(request, pretty: true)}
`with` non-matched value:
#{inspect(non_matched_value, pretty: true)}
""")
end
end