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

chore: Fix API to return errors #21

Merged
merged 21 commits into from
Feb 11, 2024
Merged

chore: Fix API to return errors #21

merged 21 commits into from
Feb 11, 2024

Conversation

kevaundray
Copy link
Collaborator

This catches errors early and returns a JsError instead of panicking with a possibly not useful error message.

@kevaundray kevaundray marked this pull request as draft February 11, 2024 17:24
@kevaundray kevaundray marked this pull request as ready for review February 11, 2024 17:41
- change 1 to 0 to not confuse skim readers with the `1` referenced below
@gabrocheleau gabrocheleau changed the base branch from kw/add-new-api to master February 11, 2024 17:47
@gabrocheleau gabrocheleau merged commit 563230f into master Feb 11, 2024
3 checks passed
@holgerd77 holgerd77 deleted the kw/fix-error-api branch February 12, 2024 11:20
@holgerd77
Copy link
Member

Ah, this is also a really important one, thanks also for this follow-up!

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.

3 participants