Skip to content

Commit

Permalink
Comment out pause statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Jan 12, 2026
1 parent 4989b57 commit 14f6896
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/plugins/Transmogrify/src/Command/TransmogrifyCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ public function execute(Arguments $args, ConsoleIo $io): int
$this->cache['rejected'][$outboundQualifiedTableName][$row['id']] = $row;
}
$this->cmdPrinter->warning("Skipping $t record " . (string)$rowIdLabel . " due to invalid foreign key: " . $e->getMessage());
$this->cmdPrinter->pause();
} catch(\InvalidArgumentException $e) {
// $this->cmdPrinter->pause();
} catch (\InvalidArgumentException $e) {
// If we can't find a value for mapping we skip the record
// (ie: mapLegacyFieldNames basically requires a successful mapping)
$this->cache['warns'] += 1;
Expand All @@ -465,8 +465,8 @@ public function execute(Arguments $args, ConsoleIo $io): int
$this->cache['rejected'][$outboundQualifiedTableName][$row['id']] = $row;
}
$this->cmdPrinter->warning("Skipping $t record " . (string)$rowIdLabel . ": " . $e->getMessage());
$this->cmdPrinter->pause();
} catch(\Exception $e) {
// $this->cmdPrinter->pause();
} catch (\Exception $e) {
$this->cache['error'] += 1;
if (isset($row['id'])) {
$this->cache['rejected'][$outboundQualifiedTableName][$row['id']] = $row;
Expand Down

0 comments on commit 14f6896

Please sign in to comment.