Skip to content
Snippets Groups Projects
  1. 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
  2. Jun 27, 2016
  3. Jun 24, 2016
  4. Jun 11, 2016
  5. Jun 10, 2016
  6. Jun 09, 2016
  7. Jun 08, 2016
  8. Jun 07, 2016
  9. Jun 06, 2016
  10. Jun 03, 2016
  11. Jun 02, 2016
Loading