Skip to content

Commit 701b568

Browse files
committed
fix error trace by ensuring error helper method is omitted from the stack
1 parent 72cfe84 commit 701b568

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/error_stack_ext.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ where
2121
type Err = E;
2222
type Ok = T;
2323

24+
#[track_caller]
2425
fn into_context<C>(self, context: C) -> Result<T, C>
2526
where
2627
C: Context,

0 commit comments

Comments
 (0)