From 59cbcac43a61ed27564e70b706aba11f7bcbcd11 Mon Sep 17 00:00:00 2001 From: Dennis Zhuang Date: Wed, 13 Sep 2023 16:11:01 +0800 Subject: [PATCH] chore: remove locaton in table not found error msg --- src/frontend/src/error.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/frontend/src/error.rs b/src/frontend/src/error.rs index 5bbe13042ccb..2347a04f8d02 100644 --- a/src/frontend/src/error.rs +++ b/src/frontend/src/error.rs @@ -176,11 +176,8 @@ pub enum Error { #[snafu(display("Invalid system table definition: {err_msg}, at {location}"))] InvalidSystemTableDef { err_msg: String, location: Location }, - #[snafu(display("Table not found: '{}', at {location}", table_name))] - TableNotFound { - table_name: String, - location: Location, - }, + #[snafu(display("Table not found: {}", table_name))] + TableNotFound { table_name: String }, #[snafu(display("Failed to join task, source: {}", source))] JoinTask {