mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 13:22:57 +00:00
refactor: remove source and location in snafu display (#2428)
* refactor: remove source pt 1 * refactor: remove source pt 2 * refactor: remove source pt 3 * refactor: remove location pt 1 * refactor: remove location pt 2 * chore: remove rustc files * chore: fix error case * chore: fix test * chore: fix test * chore: fix cr issue Co-authored-by: fys <40801205+fengys1996@users.noreply.github.com> --------- Co-authored-by: fys <40801205+fengys1996@users.noreply.github.com>
This commit is contained in:
@@ -248,7 +248,8 @@ pub async fn test_sql_api(store_type: StorageType) {
|
||||
let body = serde_json::from_str::<JsonResponse>(&res.text().await).unwrap();
|
||||
assert!(!body.success());
|
||||
let _ = body.execution_time_ms().unwrap();
|
||||
assert!(body.error().unwrap().contains("Table not found"));
|
||||
// TODO(shuiyisong): fix this when return source err msg to client side
|
||||
// assert!(body.error().unwrap().contains("Table not found"));
|
||||
|
||||
// test database given
|
||||
let res = client
|
||||
|
||||
Reference in New Issue
Block a user