diff options
Diffstat (limited to 'src/mongo/db/catalog/multi_index_block.cpp')
-rw-r--r-- | src/mongo/db/catalog/multi_index_block.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/multi_index_block.cpp b/src/mongo/db/catalog/multi_index_block.cpp index 8b927e844b2..8ed42bb3231 100644 --- a/src/mongo/db/catalog/multi_index_block.cpp +++ b/src/mongo/db/catalog/multi_index_block.cpp @@ -334,8 +334,8 @@ StatusWith<std::vector<BSONObj>> MultiIndexBlock::init( } catch (const WriteConflictException&) { // Avoid converting WCE to Status. throw; - } catch (const TenantMigrationConflictException&) { - // Avoid converting TenantMigrationConflictException to Status. + } catch (const ExceptionForCat<ErrorCategory::TenantMigrationConflictError>&) { + // Avoid converting TenantMigrationConflict errors to Status. throw; } catch (const TenantMigrationCommittedException&) { // Avoid converting TenantMigrationCommittedException to Status. |