Wiki

Articles tagged with "error handling"X
Displaying 1-3 of 3 result(s).

Safely checking if a model class exists (without exploding)

Created 3 years ago by BoazHow-tos0 comments – viewed 8,715 times – ( +1 / -1 ) – version 1.1
While rewriting the PcReportContent extension I'm maintaining I've bumped to a challenge. This wiki was born out of it.

New Relic Error Alert with Yii

Created 4 years ago by simon604Tips2 comments – viewed 16,177 times – ( +6 / -1 ) – version 1.1
Introduction

How to customize error handling in console-mode applications

Created 7 years ago by Steve FriedlHow-tos1 comment – viewed 13,326 times – ( +3 / -1 ) – version 1.1
One can control the detail of a web application in the webroot/index.php file by manipulating the values of YII_DEBUG and YII_TRACE_LEVEL, but these don't appear to be used by console applications. This is because although the base CApplication class defines a displayError() method that does consider these variable, CConsoleApplication overrides it with a function that doesn't honor them.