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