We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da82707 commit 774cac4Copy full SHA for 774cac4
rust/cubestore/cubestore/src/lib.rs
@@ -258,8 +258,12 @@ impl From<std::time::SystemTimeError> for CubeError {
258
}
259
260
impl From<Elapsed> for CubeError {
261
- fn from(v: Elapsed) -> Self {
262
- CubeError::from_error(v)
+ fn from(_: Elapsed) -> Self {
+ CubeError {
263
+ message: "Query execution timed out. Please consider evaluating EXPLAIN plan and optimizing the query.".to_string(),
264
+ backtrace: Backtrace::capture().to_string(),
265
+ cause: CubeErrorCauseType::Internal,
266
+ }
267
268
269
0 commit comments