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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
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
Hide 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
...
@@ -9,6 +9,7 @@ Yii Framework 2 Change Log
-
Bug: Gii console command help information does not contain global options (qiangxue)
-
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 #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 #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
2.0.0 October 12, 2014
...
...
framework/base/ErrorHandler.php
View file @
9061874b
...
@@ -85,8 +85,8 @@ abstract class ErrorHandler extends Component
...
@@ -85,8 +85,8 @@ abstract class ErrorHandler extends Component
$this
->
exception
=
$exception
;
$this
->
exception
=
$exception
;
// disable error capturing to avoid recursive errors while handling exceptions
// disable error capturing to avoid recursive errors while handling exceptions
restore_error_handl
er
();
$this
->
unregist
er
();
restore_exception_handler
();
try
{
try
{
$this
->
logException
(
$exception
);
$this
->
logException
(
$exception
);
if
(
$this
->
discardExistingOutput
)
{
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