36 Commits

Author SHA1 Message Date
55b858df6d use already existing error string
this one is already available and translated to some languages.
2016-04-28 02:53:39 +02:00
59ed5e18d6 ErrorHandler HttpException message translation (#11303) 2016-04-07 19:26:25 +03:00
f620f4de90 phpdoc fixes 2016-02-07 19:48:13 +01:00
7ac2bc13f7 Overrides c651dbb7. yii\web\ErrorHandler::loggableGlobals renamed to displayVars 2015-11-22 17:47:48 +02:00
c651dbb798 Added yii\web\ErrorHandler::loggableGlobals, removed $_ENV and $_SERVER from dumping by default 2015-11-22 17:14:16 +02:00
ac7b0ef6ff ErrorHandler - hardcoded UTF-8 in mb_* functions
As `Yii::$app` may be not initialized on the moment of error,
decided to hardcode UTF-8.

PR  #10169
2015-11-17 14:18:26 +02:00
a6e1ba2cf6 Fixed mb_ functions calls to use UTF-8 or app charset 2015-11-17 09:02:22 +02:00
5ab4f0f090 Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
3a313ac652 Fixes #9874: Fixed outputting exception stacktrace in non-debug mode when Response::FORMAT_RAW is used 2015-10-09 23:41:15 +03:00
c2f83da8d8 Fix phpdoc 2015-10-05 15:00:13 +06:00
9a87271abf Fixed missing stacktrace items on PHP syntax errors of "unexpected end of file" type 2015-07-30 16:30:36 +03:00
5d3532c649 fixed endless error loop in error handler
this happended when `stream` was set on the response but the stream resouce was invalid
either because it was already sent or became invalid for some other cases.

fixes #9046
2015-07-08 20:30:26 +02:00
d0c01dc9ba CodeStyle fix
close #7614
2015-03-07 00:41:20 +01:00
6481d13494 Optimized checks order in conditions 2015-02-08 17:56:36 +03:00
cf0d582a0b Added yii\web\ErrorHandler::getTypeUrl()
Makes it possible for classes that extend yii\web\ErrorHandler to provide their own informational URLs for types/classes/methods.
2015-01-24 11:56:09 +03:00
865a94f321 Fixes #4739: Better display of exceptions when the response format is set as "raw" format 2014-11-16 10:20:37 -05:00
880a305ee4 Fixes #5452: Errors occurring after the response is sent are not displayed 2014-11-07 11:30:25 -05:00
355c26df8b Fixes #4188: API exceptions are now exposing less data when YII_DEBUG is false
- If exception is internal it's always returned as HTTP 500 general purpose one.
- Type isn't exposed anymore.
2014-08-27 00:50:02 +04:00
88d38b7820 Fixes #4501: Renamed the constant YII_PATH to YII2_PATH 2014-08-14 22:17:05 -04:00
9c4d4715dd guide WIP [skip ci] 2014-07-03 08:33:09 -04:00
a28589203f do not show debug info for UserException 2014-06-24 10:21:55 +02:00
f12316f2e8 file and line information missing from error array representation 2014-06-24 10:18:57 +02:00
9b31870286 Fix ErrorHandler 2014-05-28 12:34:05 +06:00
ee2b968b7f fixed argument display in errorHandler 2014-05-25 20:30:26 +02:00
1641e057a9 VarDumper::export() applied over framework. 2014-05-20 16:35:12 +03:00
7511de6cab added errorInfo to exception views 2014-05-12 13:31:33 +02:00
340278b59c Fixes #3183: fixed regression after #3175 2014-04-30 01:31:11 +04:00
178417da9b Added title for trimmed strings 2014-04-18 12:44:39 +04:00
dad88c78b4 Fixes #2837: Error page now shows arguments in stack trace method calls 2014-04-18 04:20:22 +04:00
055455d814 updated error handler and requirement checker links. 2014-04-10 00:05:05 -04:00
f6ce9ead97 removed unnecessary static var 2014-03-30 12:38:13 +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
c93231e26b improved session error handling
fixes #1946
2014-03-29 23:54:26 +01:00
8b4d4a0b25 cleanup web errorhandler 2014-03-29 23:02:35 +01:00
d4ad533d48 moved error handling related methods from app to errorhandler 2014-03-28 19:57:11 +01:00