diff --git a/tonic/src/transport/server/recover_error.rs b/tonic/src/transport/server/recover_error.rs
index 6d7e55bf4..20c583aac 100644
--- a/tonic/src/transport/server/recover_error.rs
+++ b/tonic/src/transport/server/recover_error.rs
@@ -98,30 +98,18 @@ where
type Data = B::Data;
type Error = B::Error;
- fn poll_data(
+ fn poll_frame(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
- ) -> Poll