File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/databricks/labs/ucx/contexts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212from databricks .labs .blueprint .wheels import ProductInfo , WheelsV2
1313from databricks .labs .lsql .backends import SqlBackend
1414from databricks .sdk import AccountClient , WorkspaceClient , core
15- from databricks .sdk .errors import NotFound
15+ from databricks .sdk .errors import DatabricksError
1616from databricks .sdk .service import sql
1717
1818from databricks .labs .ucx .assessment .dashboards import DashboardOwnership
@@ -589,8 +589,8 @@ def dependency_resolver(self) -> DependencyResolver:
589589 def table_migration_index (self ) -> TableMigrationIndex :
590590 try :
591591 index = self .tables_migrator .index ()
592- except NotFound as e :
593- logger .warning ("Table migration index is not found . Initializing empty index." , exc_info = e )
592+ except DatabricksError as e :
593+ logger .warning ("Table migration cannot be loaded . Initializing empty index." , exc_info = e )
594594 index = TableMigrationIndex ([])
595595 return index
596596
You can’t perform that action at this time.
0 commit comments