Skip to content

Commit 23966b6

Browse files
bmacklolli42
authored andcommitted
[TASK] Improve error message (#671)
When a versioned record cannot be found, the DB table and the UID of the live record is now added to the message of the exception.
1 parent e2ad5e8 commit 23966b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Core/Functional/Framework/DataHandling/ActionService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ public function publishRecords(array $tableLiveUids, bool $throwException = true
430430
$versionedUid = $this->getVersionedId($tableName, $liveUid);
431431
if (empty($versionedUid)) {
432432
if ($throwException) {
433-
throw new Exception('Versioned UID could not be determined', 1476049592);
433+
throw new Exception('Versioned UID of ' . $tableName . ':' . $liveUid . ' could not be determined', 1476049592);
434434
}
435435
continue;
436436
}

0 commit comments

Comments
 (0)