Commit f85d33f9 authored by Carsten  Rose's avatar Carsten Rose
Browse files

F5458: Add '{{feUser:U}}' to be shown on exception. refs #5458

parent e219e5f5
Pipeline #929 passed with stage
in 1 minute and 57 seconds
......@@ -1582,6 +1582,7 @@ const EXCEPTION_SIP = 'current sip';
const EXCEPTION_PAGE_ID = 'Page Id';
const EXCEPTION_TT_CONTENT_UID = 'Content Id';
const EXCEPTION_FE_USER = 'FE User';
const EXCEPTION_FE_USER_STORE_USER = 'FE User STORE_USER';
const EXCEPTION_EDIT_FORM = 'Edit';
const EXCEPTION_TIMESTAMP = 'Timestamp';
......
......@@ -109,6 +109,7 @@ class AbstractException extends \Exception {
$arrDebugShow[EXCEPTION_PAGE_ID] = $t3Vars[TYPO3_PAGE_ID];
$arrDebugShow[EXCEPTION_TT_CONTENT_UID] = $t3Vars[TYPO3_TT_CONTENT_UID];
$arrDebugShow[EXCEPTION_FE_USER] = $t3Vars[TYPO3_FE_USER];
$arrDebugShow[EXCEPTION_FE_USER_STORE_USER] = Store::getVar(TYPO3_FE_USER, STORE_USER);
// Optional existing arrays will be flattened
$arrDebugShow = OnArray::varExportArray($arrDebugShow);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment