Internal: Debug trace when InlineImage::FinalizeInlineImages() fails to retrieve transaction ID

This commit is contained in:
Molkobain
2018-12-07 17:37:18 +01:00
parent 36d47c2274
commit f54da5f9a6

View File

@@ -178,6 +178,18 @@ class InlineImage extends DBObject
$oInlineImage->DBUpdate();
}
}
else
{
IssueLog::Error('InlineImage: Error during FinalizeInlineImages(), no transaction ID for object '.get_class($oObject).'#'.$oObject->GetKey().'.');
IssueLog::Error('|- Call stack:');
$oException = new Exception();
$sStackTrace = $oException->getTraceAsString();
IssueLog::Error($sStackTrace);
IssueLog::Error('|- POST vars:');
IssueLog::Error(print_r($_POST, true));
}
}
/**