phacility/phabricator · error · PhutilArgumentUsageException

User aborted the workflow.

Error message

User aborted the workflow.

What it means

Error "User aborted the workflow." thrown in phacility/phabricator.

Source

Thrown at src/applications/auth/management/PhabricatorAuthManagementStripWorkflow.php:205

        "    %s\t%s\t%s\n",
        $handles[$factor->getUserPHID()]->getName(),
        $provider->getProviderFactorKey(),
        $provider->getDisplayName());
    }

    $is_dry_run = $args->getArg('dry-run');
    if ($is_dry_run) {
      $console->writeOut(
        "\n%s\n",
        pht('End of dry run.'));

      return 0;
    }

    $force = $args->getArg('force');
    if (!$force) {
      if (!$console->confirm(pht('Strip these authentication factors?'))) {
        throw new PhutilArgumentUsageException(
          pht('User aborted the workflow.'));
      }
    }

    $console->writeOut("%s\n", pht('Stripping authentication factors...'));

    $engine = new PhabricatorDestructionEngine();
    foreach ($factors as $factor) {
      $engine->destroyObject($factor);
    }

    $console->writeOut("%s\n", pht('Done.'));

    return 0;
  }

}

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/auth/management/PhabricatorAuthManagementStripWorkflow.php:205 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21). Data as JSON: /api/errors/bf55ed3307ee5d3c. Report an issue: GitHub.