mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
feat: more SIP-40 errors (#15482)
This commit is contained in:
@@ -35,6 +35,10 @@ export default function setupErrorMessages() {
|
||||
ErrorTypeEnum.BACKEND_TIMEOUT_ERROR,
|
||||
TimeoutErrorMessage,
|
||||
);
|
||||
errorMessageComponentRegistry.registerValue(
|
||||
ErrorTypeEnum.DATABASE_NOT_FOUND_ERROR,
|
||||
DatabaseErrorMessage,
|
||||
);
|
||||
errorMessageComponentRegistry.registerValue(
|
||||
ErrorTypeEnum.GENERIC_DB_ENGINE_ERROR,
|
||||
DatabaseErrorMessage,
|
||||
@@ -83,6 +87,10 @@ export default function setupErrorMessages() {
|
||||
ErrorTypeEnum.RESULTS_BACKEND_ERROR,
|
||||
DatabaseErrorMessage,
|
||||
);
|
||||
errorMessageComponentRegistry.registerValue(
|
||||
ErrorTypeEnum.ASYNC_WORKERS_ERROR,
|
||||
DatabaseErrorMessage,
|
||||
);
|
||||
errorMessageComponentRegistry.registerValue(
|
||||
ErrorTypeEnum.SQLLAB_TIMEOUT_ERROR,
|
||||
DatabaseErrorMessage,
|
||||
|
||||
Reference in New Issue
Block a user