Skip to content
Snippets Groups Projects
  1. Oct 19, 2017
  2. Jun 29, 2016
    • Jaime Pérez's avatar
      Stop intercepting exceptions in www/module.php. · 613e2c99
      Jaime Pérez authored
      The module.php file is the way we allow modules to have their own pages. All those are executed and presented to the user via this script. However, if an exception is thrown by a module, that exception will be captured directly by the module.php script. This prevents us from adding more logic to exception handling, adds code duplication, and makes the exception handling non-uniform, since we could end up handling the same exception differently depending on whether it was thrown by a module or by a regular page.
      
      Now we no longer intercept exceptions in module.php, allowing the exception handler to kick in. That way exceptions are always handled uniformly, and we can also implement additional logic that we may want (i.e. adding a hook to the exception handler so that modules could handle exceptions the way they want).
      613e2c99
  3. Jun 03, 2016
  4. Mar 09, 2016
  5. Aug 06, 2015
  6. Jul 09, 2014
  7. Oct 28, 2011
  8. Nov 08, 2010
  9. Jul 14, 2010
  10. Feb 16, 2010
  11. Dec 04, 2009
  12. Oct 16, 2009
  13. Sep 24, 2009
  14. Dec 03, 2008
  15. Nov 10, 2008
  16. Sep 08, 2008
  17. Aug 18, 2008
Loading