Skip to content

Patch 0.8.2-alpha - #689

Merged
shashilo merged 3 commits into
mainfrom
develop
Nov 13, 2025
Merged

Patch 0.8.2-alpha#689
shashilo merged 3 commits into
mainfrom
develop

Conversation

@shashilo

Copy link
Copy Markdown
Collaborator

No description provided.

suzuhe481 and others added 2 commits November 13, 2025 16:52
* chore: adds custom error classes

* chore: adds error handling by throwing, catching, and logging errors

* fix: fixes typo in JSDocs

* fix: removes unused import

* chore: throws error for a BackendError

* fix: removes unused import

* chore: throws errors for BackendError and SupabaseErrors

* chore: throws errors for OpenAiError

* feat: function to identify and log errors

* chore: refactoring catch blocks to implement logError()

* test: fixes test to account for SupabaseError class

* test: fixes test to account for OpenAiError class and adjusts mock resolved value for bad open ai response

* fix: consolidates mockSupabase and adjusts the update status test

* fix: adds type string to SupabaseError's statusCode to allow postgrest error code

* fix: passes postgrest error code through SupabaseError class

* chore: added type to SupabaseError JSDocs

* fix: removes status from returned SupabaseError response

* fix: captures the stack trace instead of overwriting it to remove unnecessary lines in the log

* fix: improves readability by logging errors as a single object and adjusts log for unknown errors

---------

Co-authored-by: Shashi Lo <362527+shashilo@users.noreply.github.com>
@vercel

vercel Bot commented Nov 13, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
elecretanta (staging) Ready Ready Preview Comment Nov 13, 2025 10:54pm
elecretanta-storybook Ready Ready Preview Comment Nov 13, 2025 10:54pm
elecretanta-unit-test Ready Ready Preview Comment Nov 13, 2025 10:54pm

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.

2 participants