mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(pylint): Reenable raise-missing-from check (#16266)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -48,7 +48,7 @@ class DeleteDatabaseCommand(BaseCommand):
|
||||
database = DatabaseDAO.delete(self._model)
|
||||
except DAODeleteFailedError as ex:
|
||||
logger.exception(ex.exception)
|
||||
raise DatabaseDeleteFailedError()
|
||||
raise DatabaseDeleteFailedError() from ex
|
||||
return database
|
||||
|
||||
def validate(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user