From 830e6e403b4a65b01d438d3479e11ee99d2414d5 Mon Sep 17 00:00:00 2001 From: Pure White Date: Tue, 20 Feb 2024 02:09:36 +0800 Subject: [PATCH] fix: recursion error into calling --- 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)) } }