Handle NotAcceptableError better

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-04-09 11:57:53 +02:00
parent cbf772f282
commit bbfe3de471

View File

@@ -0,0 +1,4 @@
defimpl Plug.Exception, for: Phoenix.NotAcceptableError do
def status(_exception), do: 406
def actions(_exception), do: []
end