Skip to content
Snippets Groups Projects
Commit fca91436 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Add CWD to exception message.

parent 5ade9776
No related branches found
No related tags found
2 merge requests!286Master,!271Develop
Pipeline #3532 passed
......@@ -1911,6 +1911,7 @@ const EXCEPTION_MESSAGE_DEBUG = SYSTEM_MESSAGE_DEBUG; // Will only be shown as
const EXCEPTION_FILE = 'File';
const EXCEPTION_LINE = 'Line';
const EXCEPTION_CWD = 'CWD';
const EXCEPTION_STACKTRACE = 'Stacktrace';
const EXCEPTION_IP_ADDRESS = 'IP Address';
const EXCEPTION_QFQ_COOKIE = 'QFQ Cookie';
......
......@@ -103,11 +103,11 @@ class AbstractException extends \Exception {
if (isset($arrMsg[ERROR_MESSAGE_HTTP_STATUS])) {
$this->httpStatusCode = $arrMsg[ERROR_MESSAGE_HTTP_STATUS];
}
}
$arrDebugHidden[EXCEPTION_FILE] = $this->getFile();
$arrDebugHidden[EXCEPTION_LINE] = $this->getLine();
$arrDebugHidden[EXCEPTION_CWD] = getcwd();
$arrTrace = $this->getExtensionTraceAsArray();
if ($store !== null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment