villebro commented on a change in pull request #13578:
URL: https://github.com/apache/superset/pull/13578#discussion_r594212362



##########
File path: superset/databases/commands/update.py
##########
@@ -54,7 +54,7 @@ def run(self) -> Model:
             # TODO Improve this simplistic implementation for catching DB conn 
fails
             try:
                 schemas = database.get_all_schema_names()
-            except Exception:
+            except Exception as ex:

Review comment:
       Should we wrap `ex` in the `DatabaseConnectionFailedError`?




----------------------------------------------------------------
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]

Reply via email to