From ce2b97f3c1436e6c09a0b555037fc986afa36d9d Mon Sep 17 00:00:00 2001 From: 0g-peterzhb <158457852+0g-peterzhb@users.noreply.github.com> Date: Fri, 15 Nov 2024 14:32:16 +0800 Subject: [PATCH] update chain rpc returned error msg (#273) --- node/log_entry_sync/src/sync_manager/log_query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/log_entry_sync/src/sync_manager/log_query.rs b/node/log_entry_sync/src/sync_manager/log_query.rs index ce53bd4..2aea177 100644 --- a/node/log_entry_sync/src/sync_manager/log_query.rs +++ b/node/log_entry_sync/src/sync_manager/log_query.rs @@ -14,7 +14,7 @@ use thiserror::Error; pub(crate) type PinBoxFut<'a, T> = Pin> + Send + 'a>>; -const TOO_MANY_LOGS_ERROR_MSG: [&str; 2] = ["query returned more than", "too large with more than"]; +const TOO_MANY_LOGS_ERROR_MSG: [&str; 2] = ["exceeds the max limit of", "too large with more than"]; /// A log query provides streaming access to historical logs via a paginated /// request. For streaming access to future logs, use [`Middleware::watch`] or