You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2023/01/23 20:09:33 UTC

[superset] 01/01: Update api.py

This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch john-bodley-patch-6
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 0b8321b4c1ef8b56f384465dadd988f924abe594
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Tue Jan 24 09:09:24 2023 +1300

    Update api.py
---
 superset/databases/api.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/databases/api.py b/superset/databases/api.py
index 4866cbe775..9aa4fd10e3 100644
--- a/superset/databases/api.py
+++ b/superset/databases/api.py
@@ -734,7 +734,7 @@ class DatabaseRestApi(BaseSupersetModelRestApi):
             )
         except NoSuchTableError:
             self.incr_stats("error", self.select_star.__name__)
-            return self.response(404, message="Table not found on the database")
+            return self.response(404, message="Table not found in the database")
         self.incr_stats("success", self.select_star.__name__)
         return self.response(200, result=result)