Skip to content
Snippets Groups Projects
  1. May 31, 2018
  2. Oct 19, 2017
  3. 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
  4. Jun 03, 2016
  5. Mar 09, 2016
  6. Aug 06, 2015
  7. Jul 09, 2014
  8. Oct 28, 2011
  9. Nov 08, 2010
  10. Jul 14, 2010
  11. Feb 16, 2010
  12. Dec 04, 2009
  13. Oct 16, 2009
  14. Sep 24, 2009
  15. Dec 03, 2008
  16. Nov 10, 2008
  17. Sep 08, 2008
  18. Aug 18, 2008
Loading