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

supabase / gotrue / 7504228970
65%

Build:
DEFAULT BRANCH: master
Ran 12 Jan 2024 03:39PM UTC
Jobs 1
Files 114
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Jan 2024 03:34PM UTC coverage: 65.238% (+0.07%) from 65.172%
7504228970

push

github

web-flow
feat: make error message in factor creation more obvious (#1374)

## What kind of change does this PR introduce?

This PR proposes two main changes:

1. Removes the return of `error` in `NewFactor` and `NewChallenge` . As
constructed right now, these two constructs are guaranteed to succeed
and won't return an error. They are unlikely to change and removing the
`err` field will cut back on complexity
2. Checks for occasions where an attempt is made to insert a factor with
a friendly name which is already registered in the DB. In such
instances, we translate the error into a message which highlights that
there is already another factor with the same name registered in the
system.

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>

7944 of 12177 relevant lines covered (65.24%)

55.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7504228970.1 12 Jan 2024 03:39PM UTC 0
65.24
GitHub Action Run
Source Files on build 7504228970
Detailed source file information is not available for this build.
  • Back to Repo
  • 74af9934 on github
  • Prev Build on master (#7503686906)
  • Next Build on master (#7505380622)
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