Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
9061874b
Commit
9061874b
authored
Oct 19, 2014
by
Ilya Antipenko
Committed by
Alexander Makarov
Oct 19, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #5646: Call `yii\base\ErrorHandler::unregister()` instead of `restore_*_handlers` directly
parent
7ec08fc8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
ErrorHandler.php
framework/base/ErrorHandler.php
+2
-2
No files found.
framework/CHANGELOG.md
View file @
9061874b
...
...
@@ -9,6 +9,7 @@ Yii Framework 2 Change Log
-
Bug: Gii console command help information does not contain global options (qiangxue)
-
Enh #5600: Allow configuring debug panels in
`yii\debug\Module::panels`
as panel class name strings (qiangxue)
-
Enh #5613: Added
`--overwrite`
option to Gii console command to support overwriting all files (motin, qiangxue)
-
Enh #5646: Call
`yii\base\ErrorHandler::unregister()`
instead of
`restore_*_handlers`
directly (aivus)
2.0.0 October 12, 2014
...
...
framework/base/ErrorHandler.php
View file @
9061874b
...
...
@@ -85,8 +85,8 @@ abstract class ErrorHandler extends Component
$this
->
exception
=
$exception
;
// disable error capturing to avoid recursive errors while handling exceptions
restore_error_handl
er
();
restore_exception_handler
();
$this
->
unregist
er
();
try
{
$this
->
logException
(
$exception
);
if
(
$this
->
discardExistingOutput
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment