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

errors: Don't unwrap in server::ui::boundaries #1871

Closed

Conversation

har7an
Copy link
Contributor

@har7an har7an commented Oct 28, 2022

Remove calls to unwrap and return a Result type instead, enriched with error context messages.

by passing a reference to the tab to the `err_context` closure, allowing
us to add the pane ID and name to the error message.
and return a `Result` instead. Bubble up the result up to the next
function taking results.
@har7an har7an temporarily deployed to cachix October 28, 2022 08:41 Inactive
@har7an
Copy link
Contributor Author

har7an commented Oct 28, 2022

Resolved in #1870.

@har7an har7an closed this Oct 28, 2022
@har7an har7an deleted the errors/dont-unwrap-in-server-boundaries branch December 13, 2022 07:27
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.

None yet

1 participant