mirror of https://github.com/apache/superset.git
fix: pybabel extract fails (#16629)
* fix pybabel extract fails * fix black * trigger GitHub actions
This commit is contained in:
parent
6465ee7dbd
commit
d0f69f2e5c
|
@ -285,8 +285,9 @@ def execute_sql_statement(
|
|||
raise SupersetErrorException(
|
||||
SupersetError(
|
||||
message=__(
|
||||
f"The query was killed after {SQLLAB_TIMEOUT} seconds. It might "
|
||||
"be too complex, or the database might be under heavy load."
|
||||
"The query was killed after %(sqllab_timeout)s seconds. It might "
|
||||
"be too complex, or the database might be under heavy load.",
|
||||
sqllab_timeout=SQLLAB_TIMEOUT,
|
||||
),
|
||||
error_type=SupersetErrorType.SQLLAB_TIMEOUT_ERROR,
|
||||
level=ErrorLevel.ERROR,
|
||||
|
|
Loading…
Reference in New Issue