This repository has been archived by the owner on Feb 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
If display_errors is FALSE exception messages are still printed to the screen #168
Merged
+171
−52
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
8d7602e
#163 - Add HTTP status codes and messages to allow for easy lookups.
johanjanssens a584b49
#163 : Improve JPageError
johanjanssens c1e3b27
#163 - Improve JDocumentError
johanjanssens 04615a4
#163 - Use 'code' and 'message' parameters.
johanjanssens 82e252d
#163 - Use 'code' and 'message' parameters. Only show the backtrace i…
johanjanssens 696024e
Merge branch 'develop' into feature/163-displayerrors
johanjanssens 94e8a28
Merge branch 'develop' into feature/163-displayerrors
johanjanssens e2fc8d4
#163 - Fix typo
johanjanssens d2c24ab
#163 - Add additional !$document check.
johanjanssens File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd keep it to $this->debug as before since you might want all the information you can get when debug is on. This is also what we do on Koowa no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ercanozkaya No. We only show render the trace if display_errors is on explicitly. Otherwise we don't. This change make the behavior of platform and framework consistent. I would keep it.
See https://github.com/nooku/nooku-framework/blob/master/code/libraries/koowa/components/com_koowa/controller/error.php#L96
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@johanjanssens Okay agreed