From 5e0062cf63ccb480f7b7e04b81b9b9c00d4c67b4 Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Fri, 5 Jul 2024 09:41:15 +0900 Subject: [PATCH] CR comment. changed error message --- .../src/default_doc_mapper/date_time_type.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickwit/quickwit-doc-mapper/src/default_doc_mapper/date_time_type.rs b/quickwit/quickwit-doc-mapper/src/default_doc_mapper/date_time_type.rs index 1b8cd0d7a96..6ebdcc2d960 100644 --- a/quickwit/quickwit-doc-mapper/src/default_doc_mapper/date_time_type.rs +++ b/quickwit/quickwit-doc-mapper/src/default_doc_mapper/date_time_type.rs @@ -87,7 +87,7 @@ impl QuickwitDateTimeOptions { Ok(()) } else { Err(format!( - "failed to parse datetime `{:?}`: value is larger than i64::MAX", + "failed to convert timestamp to f64 ({:?}). this should never happen", serde_json::Number::from(*timestamp) )) }