Browse Source

Update ExceptionRenderer.php

Debug docs - ExceptionRenderer.php
Eliu Florez 12 years ago
parent
commit
359723fec8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Error/ExceptionRenderer.php

+ 2 - 2
src/Error/ExceptionRenderer.php

@@ -33,8 +33,8 @@ use Cake\View\View;
 /**
  * Exception Renderer.
  *
- * Captures and handles all unhandled exceptions. Displays helpful framework errors when debug > 1.
- * When debug < 1 a CakeException will render 404 or 500 errors. If an uncaught exception is thrown
+ * Captures and handles all unhandled exceptions. Displays helpful framework errors when debug is true.
+ * When debug is false a CakeException will render 404 or 500 errors. If an uncaught exception is thrown
  * and it is a type that ExceptionHandler does not know about it will be treated as a 500 error.
  *
  * ### Implementing application specific exception rendering