Skip to content

Commit 05fe9bb

Browse files
authored
[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 14c8cbd commit 05fe9bb

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
@@ -428,7 +428,7 @@ public function publishRecords(array $tableLiveUids, bool $throwException = true
428428
$versionedUid = $this->getVersionedId($tableName, (int)$liveUid);
429429
if (empty($versionedUid)) {
430430
if ($throwException) {
431-
throw new Exception('Versioned UID could not be determined', 1476049592);
431+
throw new Exception('Versioned UID of ' . $tableName . ':' . $liveUid . ' could not be determined', 1476049592);
432432
}
433433
continue;
434434
}

0 commit comments

Comments
 (0)