Skip to content

Commit

Permalink
Improve logging of offset_frequency fallthrough case
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyc committed Jun 30, 2024
1 parent 6d4f4f2 commit 9d134e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/open890_web/radio_view_helpers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ defmodule Open890Web.RadioViewHelpers do
freq - amount
end

def offset_frequency(mode, freq, _amount) do
Logger.debug("offset_frequency: Unknown mode: #{inspect(mode)}")
def offset_frequency(mode, freq, amount) do
Logger.warn("offset_frequency: Unhandled mode/freq/amount combination: #{inspect({mode, freq, amount})}")

freq
end
Expand Down

0 comments on commit 9d134e5

Please sign in to comment.