Skip to content

Commit c52959d

Browse files
authored
Enrich gssapi::Error with message from libgssapi::error::Error (#39)
``` GSS-API error: Miscellaneous failure (see text) (Error from KDC: UNKNOWN_SERVER while looking up 'zookeeper2/[email protected]' (cached result, timeout in 1184 sec) (negative cache)) ``` Comparing to simple `GSS-API error`.
2 parents a8196a6 + cda687c commit c52959d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mechanisms/gssapi/properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use thiserror::Error;
55

66
#[derive(Debug, Error)]
77
pub enum Error {
8-
#[error("GSS-API error")]
8+
#[error("GSS-API error: {0}")]
99
Gss(
1010
#[source]
1111
#[from]

0 commit comments

Comments
 (0)