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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Feature Request [getBindingsProxy]: ensure that the getBindingsProxy utility has robust error handling #4794

Open
dario-piotrowicz opened this issue Jan 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dario-piotrowicz
Copy link
Member

Describe the solution

The getBindingsProxy utility (introduced in #4523) should handle error scenarios gracefully.

When I've implemented it I wanted to get the basic functionality up and running and deal with the details incrementally.

One of such details is error handling, the utility should:

  • error with a graceful/helpful error message if it can't find the toml file (or proceed without picking up bindings?)
  • let the user know when they try to access external local Durable Objects and Services but those aren't found (similar to the next-dev service and do warnings)
  • gracefully handle any other type of issue (like a wrong configuration)
@dario-piotrowicz dario-piotrowicz added the enhancement New feature or request label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant