Remove unnecessary TODO
When calling refresh synchronously, the caller decides what to do with the error
This commit is contained in:
@@ -71,7 +71,6 @@ defmodule LastFm.Refresh do
|
|||||||
{:reply, :ok, config, config.refresh_interval}
|
{:reply, :ok, config, config.refresh_interval}
|
||||||
|
|
||||||
error ->
|
error ->
|
||||||
# TODO: think about failure scenario - error is logged at the API level
|
|
||||||
{:reply, error, config, config.refresh_interval}
|
{:reply, error, config, config.refresh_interval}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user