Added plugin index to migration error message.
Open
requested to merge issue/drupal-3400100:3400100-migrate-exception-message-plugin-index into 11.x
2 unresolved threads
Closes #3400100
Merge request reports
Activity
added 1 commit
- 95544e55 - Issues/3400100: Update messages in migration tests to include process index.
added 210 commits
-
1d985462...0f1bc004 - 207 commits from branch
project:11.x
- 9cd60c6e - Added plugin index to migration error message.
- aeaf6eeb - Issues/3400100: Update messages in migration tests to include process index.
- 2eb592cb - Issues/3400100: Update tests.
Toggle commit list-
1d985462...0f1bc004 - 207 commits from branch
added 2392 commits
-
2eb592cb...f1b31c46 - 2391 commits from branch
project:11.x
- f272ac0a - Merge branch '11.x' into 3400100-migrate-exception-message-plugin-index
-
2eb592cb...f1b31c46 - 2391 commits from branch
437 437 $break = TRUE; 438 438 } 439 439 catch (MigrateException $e) { 440 // Prepend the process plugin id to the message. 441 $message = sprintf("%s: %s", $plugin->getPluginId(), $e->getMessage()); 440 // Prepend the process plugin id and index to the message. 441 $message = sprintf("%s($index): %s", $plugin->getPluginId(), $e->getMessage()); changed this line in version 7 of the diff
460 460 break; 461 461 } 462 462 catch (MigrateException $e) { 463 // Prepend the process plugin id to the message. 464 $message = sprintf("%s: %s", $plugin->getPluginId(), $e->getMessage()); 463 // Prepend the process plugin id and index to the message. 464 $message = sprintf("%s($index): %s", $plugin->getPluginId(), $e->getMessage());
Please register or sign in to reply