From 47b5e239b376209092d58fd408bd220ad6fd22a9 Mon Sep 17 00:00:00 2001 From: Pure White Date: Tue, 20 Feb 2024 02:10:17 +0800 Subject: [PATCH] fix: recursion error into calling (#227) --- pilota/src/thrift/error/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pilota/src/thrift/error/mod.rs b/pilota/src/thrift/error/mod.rs index 8af389ec..3669bf07 100644 --- a/pilota/src/thrift/error/mod.rs +++ b/pilota/src/thrift/error/mod.rs @@ -54,7 +54,7 @@ impl From for ThriftException { impl From for ThriftException { fn from(e: std::io::Error) -> Self { - e.into() + ThriftException::Transport(TransportException::from(e)) } }