Skip to content

Commit f654f5d

Browse files
committed
Add span and backtrace for GetError
1 parent 0611f76 commit f654f5d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/get/error.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ pub enum GetNotFoundError {
1616
}
1717

1818
/// Failures for a get operation
19+
#[common_fields({
20+
backtrace: Option<Backtrace>,
21+
#[snafu(implicit)]
22+
span_trace: SpanTrace,
23+
})]
1924
#[derive(Debug, Snafu)]
2025
#[snafu(visibility(pub(crate)))]
2126
pub enum GetError {

0 commit comments

Comments
 (0)