Skip to content

Commit 877bdcb

Browse files
committed
fix error str
1 parent 4783b64 commit 877bdcb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

opentelemetry-sdk/src/error.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@ pub enum OTelSdkError {
2323
#[error("Shutdown already invoked")]
2424
AlreadyShutdown,
2525

26-
/// Shutdown timed out before completing.
26+
/// Operation timed out before completing.
2727
///
28-
/// This does not necessarily indicate a failure—shutdown may still be
28+
/// This does not necessarily indicate a failure—operation may still be
2929
/// complete. If this occurs frequently, consider increasing the timeout
3030
/// duration to allow more time for completion.
31-
#[error("Shutdown timed out after {0:?}")]
31+
#[error("Operation timed out after {0:?}")]
3232
Timeout(Duration),
3333

34-
/// Shutdown failed due to an internal error.
34+
/// Operation failed due to an internal error.
3535
///
3636
/// The error message is intended for logging purposes only and should not
3737
/// be used to make programmatic decisions. It is implementation-specific
3838
/// and subject to change without notice. Consumers of this error should not
3939
/// rely on its content beyond logging.
40-
#[error("Shutdown failed: {0}")]
40+
#[error("Operation failed: {0}")]
4141
InternalFailure(String),
4242
}
4343

0 commit comments

Comments
 (0)