summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML/SessionHandlerPHP.php
diff options
context:
space:
mode:
authorJaime Pérez <jaime.perez@uninett.no>2016-06-29 16:20:19 +0200
committerJaime Pérez <jaime.perez@uninett.no>2016-06-29 16:20:19 +0200
commit613e2c994bc4c57d49dc22cceddfb187d5294542 (patch)
tree5ad1c62d10469f5080364bdffd2695882fddc907 /lib/SimpleSAML/SessionHandlerPHP.php
parent64142de9743d8715de5cd09650715a5c5587e2c8 (diff)
downloadsimplesamlphp-613e2c994bc4c57d49dc22cceddfb187d5294542.zip
simplesamlphp-613e2c994bc4c57d49dc22cceddfb187d5294542.tar.gz
simplesamlphp-613e2c994bc4c57d49dc22cceddfb187d5294542.tar.bz2
Stop intercepting exceptions in www/module.php.
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).
Diffstat (limited to 'lib/SimpleSAML/SessionHandlerPHP.php')
0 files changed, 0 insertions, 0 deletions