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

backspace / prison-rideshare-api / ad167f9aa03f139a9d58b80f0028f0882a59c8dd

27 Sep 2025 09:18AM UTC coverage: 90.569% (-1.6%) from 92.214%
ad167f9aa03f139a9d58b80f0028f0882a59c8dd

push

github

backspace
Remove buildpacks file

I’m trying this with dokku buildpacks:add instead.

605 of 668 relevant lines covered (90.57%)

7.26 hits per line

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

83.33
/lib/prison_rideshare_web/auth_error_handler.ex
1
defmodule PrisonRideshare.Guardian.AuthErrorHandler do
2
  use PrisonRideshareWeb, :controller
3

4
  def auth_error(conn, {failure_type, _}, _opts) do
5
    status =
4✔
6
      case failure_type do
7
        :invalid_token -> 401
1✔
8
        :unauthenticated -> 401
2✔
9
        :unauthorized -> 403
×
10
        :no_resource_found -> 400
1✔
11
      end
12

13
    conn
14
    |> put_status(status)
15
    |> put_view(PrisonRideshareWeb.ErrorView)
16
    |> render("#{status}.json")
4✔
17
  end
18
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