Enable other quokka directives
This commit is contained in:
+1
-1
@@ -4,6 +4,6 @@
|
||||
plugins: [Phoenix.LiveView.HTMLFormatter, Quokka],
|
||||
inputs: ["*.{heex,ex,exs}", "{config,lib,test}/**/*.{heex,ex,exs}", "priv/*/seeds.exs"],
|
||||
quokka: [
|
||||
only: [:blocks, :module_directives, :pipes, :single_node]
|
||||
only: [:blocks, :defs, :deprecations, :module_directives, :pipes, :single_node]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -24,12 +24,7 @@ defmodule LastFm.API.ErrorResponse do
|
||||
Returns true if the error is retryable, false otherwise.
|
||||
"""
|
||||
def retryable_error?(error)
|
||||
when error in [
|
||||
:transient_error,
|
||||
:service_offline,
|
||||
:rate_limit_exceeded,
|
||||
:operation_failed
|
||||
],
|
||||
when error in [:transient_error, :service_offline, :rate_limit_exceeded, :operation_failed],
|
||||
do: true
|
||||
|
||||
def retryable_error?(_error), do: false
|
||||
|
||||
Reference in New Issue
Block a user