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:32 UTC

[superset] branch john-bodley-patch-6 created (now 0b8321b4c1)

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

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


      at 0b8321b4c1 Update api.py

This branch includes the following new commits:

     new 0b8321b4c1 Update api.py

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[superset] 01/01: Update api.py

Posted by jo...@apache.org.
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)