Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qfq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
typo3
qfq
Commits
fca91436
Commit
fca91436
authored
4 years ago
by
Carsten Rose
Browse files
Options
Downloads
Patches
Plain Diff
Add CWD to exception message.
parent
5ade9776
No related branches found
No related tags found
2 merge requests
!286
Master
,
!271
Develop
Pipeline
#3532
passed
4 years ago
Stage: before
Stage: build
Stage: selenium
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
extension/Classes/Core/Constants.php
+1
-0
1 addition, 0 deletions
extension/Classes/Core/Constants.php
extension/Classes/Core/Exception/AbstractException.php
+1
-1
1 addition, 1 deletion
extension/Classes/Core/Exception/AbstractException.php
with
2 additions
and
1 deletion
extension/Classes/Core/Constants.php
+
1
−
0
View file @
fca91436
...
...
@@ -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'
;
...
...
This diff is collapsed.
Click to expand it.
extension/Classes/Core/Exception/AbstractException.php
+
1
−
1
View file @
fca91436
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment