File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -923,6 +923,7 @@ impl From<&couchbase_core::queryx::error::Error> for Error {
923923 endpoint,
924924 statement,
925925 client_context_id,
926+ error,
926927 ..
927928 } => {
928929 let context = ErrorContext :: new ( )
@@ -939,7 +940,7 @@ impl From<&couchbase_core::queryx::error::Error> for Error {
939940 let msg = if let Some ( source) = value. source ( ) {
940941 source. to_string ( )
941942 } else {
942- "unknown http error" . to_string ( )
943+ error. to_string ( )
943944 } ;
944945
945946 Error {
@@ -1083,13 +1084,15 @@ impl From<&couchbase_core::searchx::error::Error> for Error {
10831084 context : Box :: new ( Some ( context) ) ,
10841085 }
10851086 }
1086- couchbase_core:: searchx:: error:: ErrorKind :: Http { endpoint, .. } => {
1087+ couchbase_core:: searchx:: error:: ErrorKind :: Http {
1088+ endpoint, error, ..
1089+ } => {
10871090 let context = ErrorContext :: new ( ) . with_dispatched_to ( endpoint. clone ( ) ) ;
10881091
10891092 let msg = if let Some ( source) = value. source ( ) {
10901093 source. to_string ( )
10911094 } else {
1092- "unknown http error" . to_string ( )
1095+ error. to_string ( )
10931096 } ;
10941097
10951098 Error {
You can’t perform that action at this time.
0 commit comments