Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: custom error status code from edge function returned correctly #196

Merged
merged 1 commit into from
Mar 26, 2025

Conversation

silentworks
Copy link
Collaborator

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

Custom error status code from edge function not being returned to the python library

What is the new behavior?

Custom error status code from edge function is returned to the python library

Additional context

Fix #192

@silentworks silentworks requested a review from grdsdev March 25, 2025 07:20
@coveralls
Copy link

Pull Request Test Coverage Report for Build 14053855295

Details

  • 6 of 8 (75.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-1.0%) to 98.98%

Changes Missing Coverage Covered Lines Changed/Added Lines %
supabase_functions/_async/functions_client.py 2 3 66.67%
supabase_functions/_sync/functions_client.py 2 3 66.67%
Totals Coverage Status
Change from base Build 14007202667: -1.0%
Covered Lines: 194
Relevant Lines: 196

💛 - Coveralls

@silentworks silentworks merged commit 7077a38 into main Mar 26, 2025
12 checks passed
@silentworks silentworks deleted the silentworks/error-status-code-fix branch March 26, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Supabase invoke function doesn't handle custom error status code
3 participants