vonsamnang01041994 commented on a change in pull request #14111:
URL: https://github.com/apache/superset/pull/14111#discussion_r612834231
##########
File path: superset/db_engine_specs/redshift.py
##########
@@ -14,14 +14,60 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
+import re
+
+from flask_babel import gettext as __
+
from superset.db_engine_specs.postgres import PostgresBaseEngineSpec
+from superset.errors import SupersetErrorType
+
+# Regular expressions to catch custom errors
+TEST_CONNECTION_ACCESS_DENIED_REGEX = re.compile(
+ 'FATAL: password authentication failed for user "(?P<username>.*?)"'
Review comment:
hi
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]