Skip to content
Snippets Groups Projects

Added plugin index to migration error message.

2 unresolved threads

Closes #3400100

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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());
  • 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());
    • Suggested change
      464 $message = sprintf("%s($index): %s", $plugin->getPluginId(), $e->getMessage());
      464 $message = sprintf("%s(%d): %s", $plugin->getPluginId(), $index, $e->getMessage());
    • Please register or sign in to reply
  • David Cameron added 1 commit

    added 1 commit

    • 626a97a6 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Please register or sign in to reply
    Loading