• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supavisor / 16224d65df09a082383c5b4a5b1571e4fc4e8ab4

04 Feb 2025 02:01PM UTC coverage: 46.001% (-0.2%) from 46.176%
16224d65df09a082383c5b4a5b1571e4fc4e8ab4

push

github

web-flow
chore: update Elixir to 1.18.2 (#589)

0 of 2 new or added lines in 1 file covered. (0.0%)

281 existing lines in 27 files now uncovered.

949 of 2063 relevant lines covered (46.0%)

641.95 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/lib/supavisor_web/controllers/fallback_controller.ex
1
defmodule SupavisorWeb.FallbackController do
2
  @moduledoc """
3
  Translates controller action results into valid `Plug.Conn` responses.
4

5
  See `Phoenix.Controller.action_fallback/1` for more details.
6
  """
7
  use SupavisorWeb, :controller
8

9
  # This clause handles errors returned by Ecto's insert/update/delete.
10
  def call(conn, {:error, %Ecto.Changeset{} = changeset}) do
11
    conn
12
    |> put_status(:unprocessable_entity)
13
    |> put_view(SupavisorWeb.ChangesetView)
UNCOV
14
    |> render("error.json", changeset: changeset)
2✔
15
  end
16

17
  # This clause is an example of how to handle resources that cannot be found.
18
  def call(conn, {:error, :not_found}) do
19
    conn
20
    |> put_status(:not_found)
21
    |> put_view(SupavisorWeb.ErrorView)
22
    |> render(:"404")
×
23
  end
24
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc