1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-22 07:52:43 +00:00

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
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

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