Skip to content

Commit af4288e

Browse files
committed
Review feedback
1 parent e9be699 commit af4288e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/content_management/data_migration/importing_data.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,19 @@ If the migration fails for this reason, the exception is suppressed, allowing th
168168

169169
A `try_catch` migration requires the `steps` property and accepts optional `allowed_exceptions` and `stop_after_first_exception` settings.
170170

171+
Default values are:
172+
173+
- `allowed_exceptions`: empty list
174+
- `stop_after_first_exception`: `true`
175+
171176
```yaml
172177
[[= include_file('code_samples/data_migration/examples/try_catch_step.yaml') =]]
173178
```
174179

175180
When an exception is thrown within a try-catch step, it's compared against the list of `allowed_exceptions`.
176181
If the exception matches, it's caught and the migration continues or stops depending on the `stop_after_first_exception` configuration setting.
177-
The default value of `stop_after_first_exception` is `true`.
182+
The migration is marked as successful.
183+
Non-matching exceptions throw immediately, halting the migration process and returning an error.
178184

179185
### Expression syntax
180186

0 commit comments

Comments
 (0)