Commit 20a2bbb4 authored by Carsten  Rose's avatar Carsten Rose
Browse files

AbstractException.php: Stacktrace is now submitted as an array and not as...

AbstractException.php: Stacktrace is now submitted as an array and not as '<pre>' text - the '<pre>' is sanatized by the client and has no effect.
parent 9ee88d48
......@@ -43,7 +43,8 @@ class AbstractException extends \Exception {
$this->messageArray['Message'] = $this->getMessage();
$this->messageArray['Code'] = $this->getCode();
$this->messageArray['Timestamp'] = date('Y.m.d H:i:s O');
$this->messageArray['Stacktrace'] = '<pre>' . $this->getTraceAsString() . '</pre>';
// $this->messageArray['Stacktrace'] = '<pre>' . $this->getTraceAsString() . '</pre>';
$this->messageArray['Stacktrace'] = $this->getTrace();
if ($store !== null) {
$this->messageArray['Page Id'] = $store->getVar(TYPO3_PAGE_ID, STORE_TYPO3);
$this->messageArray['Content Id'] = $store->getVar(TYPO3_TT_CONTENT_UID, STORE_TYPO3);
......
Markdown is supported
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