73 Commits

Author SHA1 Message Date
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
a2568d1ec8 updated some comments and @since annotations 2015-08-02 19:56:49 +02:00
6d9fe671de various code style and whitespace adjustments 2015-08-02 00:27:19 +02:00
8ced2ba96a Fixes #8933: Yii is now able to properly handle HHVM fatal errors 2015-07-28 10:32:52 +03:00
b9916b1718 log the whole exception object to allow log targets to work with it
fixes #6354
made possible by #7305
2015-05-16 00:32:01 +02:00
8f1811919f ensure error will always result in a failing HTTP status code
fixes #8326
proper fix for #7571 which did not work in all situations
2015-05-08 22:38:49 +02:00
b6a591c720 Fixes #7571: HTTP status 500 and "An internal server error occurred." are now returned in case there was an exception in layout and YII_DEBUG is false 2015-03-06 20:10:54 +03:00
2aace3714c minor adjustments 2015-03-01 01:24:28 +01:00
2ba573bfb5 Fixes #6883: yii\base\ErrorHandler::logException() is now public 2015-02-08 18:36:55 +03:00
ab0033542b Fixes #6247: Logger and error handler are now using slightly less memory 2014-12-17 00:39:54 +03:00
9061874bdb Fixes #5646: Call yii\base\ErrorHandler::unregister() instead of restore_*_handlers directly 2014-10-19 14:48:11 +04:00
6709154792 yii\base\ErrorHandler::handleError() adjusted keeping native error processing on error reporting miss match. 2014-08-19 12:42:41 +03:00
0087339a42 log fatal errors to yii logs. 2014-06-19 15:35:04 -04:00
1641e057a9 VarDumper::export() applied over framework. 2014-05-20 16:35:12 +03:00
32aa175b7c renamed ErrorHandler::deRegister to unregister. [skip ci] 2014-05-11 20:47:27 -04:00
2e6e318720 added ErrorHandler::deRegister() 2014-05-11 21:18:34 +02:00
c15aceb094 Refactored filter error display for GridView. 2014-04-22 20:46:23 -04:00
c1445871f4 Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
a64429acf3 removed TODOs 2014-03-30 12:01:08 +02:00
a4b6fb263d handle Exceptions in application init() 2014-03-30 01:27:18 +01:00
89f6a00147 created console errorHandler 2014-03-30 01:04:43 +01:00
f2b20d99d5 Merge branch 'master' into refactor-errorhandler
* master:
  Fixes #2912: Relative view files will be looked for under the directory containing the view currently being rendered
  app end improvement.
  improvement of Application::end() handling.
  typo fix.
  Fixes #2910: Added `Application::end()`

Conflicts:
	framework/base/Application.php
2014-03-30 00:27:51 +01:00
c93231e26b improved session error handling
fixes #1946
2014-03-29 23:54:26 +01:00
bb2906917d adjusted guide and small code adjustements 2014-03-29 20:15:32 +01:00
33543cbdb3 improved error handler output on console app 2014-03-29 19:52:36 +01:00
d4ad533d48 moved error handling related methods from app to errorhandler 2014-03-28 19:57:11 +01:00
fdface1646 added stack trace to exception output in API when YII_DEBUG is true
issues #303 and #2516
2014-03-27 00:22:01 +01:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
ad19e332f4 Added back some toArray() implementations. 2014-03-07 22:05:45 -05:00
fad635440b Fixes #2655: Arrayable and ArrayableTrait are incompatible for some PHP versions. 2014-03-07 19:08:27 -05:00
7b46dc3443 Fixed incorrect error handling. 2014-03-02 12:32:22 -05:00
39947be66b rest WIP 2014-02-28 21:25:43 -05:00
214f66a8c1 skip exiting in test env.
see 0cfd41a21a (commitcomment-5238567)
issue #2233
2014-02-01 19:53:01 +01:00
0cfd41a21a let application exit with code 1 on error/exception in console
fixes #2233
2014-01-31 15:01:05 +01:00
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
7d33a5d3b5 Some Code style fixes 2014-01-19 13:35:36 -03:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
0a41b006ee removed unnecessary code, added comment about displaying errors 2013-04-19 04:22:36 +04:00
767a78f8b8 better handling of errors during rendering an error 2013-04-19 04:12:30 +04:00
2a12fdbcdf safer exception rendering 2013-04-19 03:51:25 +04:00
9f2b44fc21 phpdoc 2013-04-16 00:53:07 +04:00
c629ad776a Finished plural forms. 2013-04-01 17:59:14 -04:00
80dbaaca8b bug fixes. 2013-03-25 19:37:42 -04:00
884977a724 renamed util to helpers. 2013-03-23 15:32:26 -04:00
1d48d01ef7 refactored View. 2013-03-20 22:03:13 -04:00
4fdaab3560 updated file header. 2013-03-04 08:03:46 -05:00
8b2b7915b4 Renamed application to app. 2013-02-05 16:12:22 -05:00
398ac25456 added UserException. 2013-02-03 19:45:44 -05:00