Improve error message
authorKarl O. Pinc <kop@karlpinc.com>
Tue, 19 Jan 2021 19:47:33 +0000 (13:47 -0600)
committerKarl O. Pinc <kop@karlpinc.com>
Tue, 19 Jan 2021 19:47:33 +0000 (13:47 -0600)
src/pgwui_upload_core/views/upload.py

index 279dfd679aca1047b2ea4e96c59045bb0d5aeae8..535efca372808ce6cf07b611861cddf8b1429311 100644 (file)
@@ -128,7 +128,8 @@ class BaseTableUploadHandler(TabularFileUploadHandler):
                 raise upload_ex.MissingTableError(
                     'No such table or view',
                     err.diag.message_primary,
-                    ('<p>Hint: Check spelling or try qualifying the'
+                    ('<p>Hint: Check spelling, database permissions, '
+                     ' or try qualifying the'
                      ' table name with a schema name</p>'))
             else:
                 raise