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 12
12
from databricks .labs .blueprint .wheels import ProductInfo , WheelsV2
13
13
from databricks .labs .lsql .backends import SqlBackend
14
14
from databricks .sdk import AccountClient , WorkspaceClient , core
15
- from databricks .sdk .errors import NotFound
15
+ from databricks .sdk .errors import DatabricksError
16
16
from databricks .sdk .service import sql
17
17
18
18
from databricks .labs .ucx .assessment .dashboards import DashboardOwnership
@@ -589,8 +589,8 @@ def dependency_resolver(self) -> DependencyResolver:
589
589
def table_migration_index (self ) -> TableMigrationIndex :
590
590
try :
591
591
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 )
594
594
index = TableMigrationIndex ([])
595
595
return index
596
596
You can’t perform that action at this time.
0 commit comments