1. 12 Feb, 2013 1 commit
    • More on error handling: · 2d5db951
      Alexander Makarov authored
      - Correct exit code for require errors in CLI mode. It was 0 even in case of error.
      - Solved handling fatals and displaying custom error template w/o output buffering.
      - If XDEBUG is available, error screen will display trace (implementation inspired by Kohana and Nette).
      - Added ErrorException to store/display type of the error and user-friendly messages.
      - Fatals are still logged in PHP log.
      - Turned off native display_errors since we're now catching all errors.
      - Added reserving memory (256kb) . Can be removed safely. In case of removal we're losing only memory exhausted error when allocating last very small chunk of memory.
      - Properly handled errors in __toString (exception can't be thrown in this case).
      - In the YII_DEBUG===false mode it's bad to display exception name even in page title.
      - In the YII_DEBUG===true mode it's still useful to get user-friendly message additionally to exception name.
  2. 11 Feb, 2013 1 commit
  3. 08 Feb, 2013 2 commits
  4. 07 Feb, 2013 7 commits
  5. 06 Feb, 2013 2 commits
  6. 05 Feb, 2013 4 commits
  7. 04 Feb, 2013 3 commits
  8. 03 Feb, 2013 3 commits
  9. 02 Feb, 2013 1 commit
  10. 01 Feb, 2013 13 commits
  11. 31 Jan, 2013 3 commits