-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for buck2_error->Starlark conversion bug
Summary: When a `buck2_error::Error` that has a `TypedContext` within its error stack, the conversion to `Starlark::Error` will cause the root error to be dropped which isn't the right behavior. This diff adds the test showing the failing behavior, next diff will be the fix. Reviewed By: JakobDegen Differential Revision: D68570401 fbshipit-source-id: 2617eb9f4322cc949e39a254ed29d1fb3fb1d41e
- Loading branch information
1 parent
51314c5
commit 0f9c49c
Showing
1 changed file
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters