Merge branch 'master' of https://git.fredericofalcao.com/git/ContinuousIntegrationScript
This commit is contained in:
commit
854e8d3e2e
@ -19,7 +19,7 @@ function handleTriggerExecutionResult($result, $stdout, $stderr, $originalRow, $
|
|||||||
$newRowValue = json_decode($stdout, true);
|
$newRowValue = json_decode($stdout, true);
|
||||||
|
|
||||||
// Ignore the hydrate columns
|
// Ignore the hydrate columns
|
||||||
$newRowValue = array_filter($newRowValue, fn($k) => !str_ends_with($k, '_ref'), ARRAY_FILTER_USE_KEY);
|
$newRowValue = array_filter($newRowValue ?? [], fn($k) => !str_ends_with($k, '_ref'), ARRAY_FILTER_USE_KEY);
|
||||||
|
|
||||||
if ($newRowValue === null) {
|
if ($newRowValue === null) {
|
||||||
updateTriggerError($tableName, 'Invalid JSON output from sandboxed execution.');
|
updateTriggerError($tableName, 'Invalid JSON output from sandboxed execution.');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user