-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Go Drivers
Context
Adding selected server info to error messages would improve debugging.
Definition of done
Include the server name and address in errors that originated from the server. Following the guideline form DRIVERS-2170:
{qupte}Any driver that includes server information in an exception or error message must ensure that the exception or message refers to the server that originated the error. For example, during a retry of a failed read or write, the original server must not simply be carried over to a subsequent error.
Pitfalls
To avoid confusing behavior, we don't want to include server information on errors that do not originate with the server.
- related to
-
GODRIVER-2929 Improve error messaging by wrapping errors in Go Driver 1.x
- Backlog
-
GODRIVER-3031 Errors on retryable ops should indicate originating server when possible
- Closed