AAfghahi commented on a change in pull request #14093:
URL: https://github.com/apache/superset/pull/14093#discussion_r612750576
##########
File path: superset/db_engine_specs/mssql.py
##########
@@ -46,6 +64,28 @@ class MssqlEngineSpec(BaseEngineSpec):
"P1Y": "DATEADD(year, DATEDIFF(year, 0, {col}), 0)",
}
+ custom_errors = {
+ TEST_CONNECTION_ACCESS_DENIED_REGEX: (
+ __('Either the username "%(username)s" or the password is
incorrect.'),
+ SupersetErrorType.TEST_CONNECTION_ACCESS_DENIED_ERROR,
+ ),
+ TEXT_CONNECTION_INVALID_HOSTNAME_REGEX: (
Review comment:
```suggestion
TEST_CONNECTION_INVALID_HOSTNAME_REGEX: (
```
--
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]