ckanext-exception
This plugin is purely created to throw exceptions and test logging.
Throw an exception. Really, that’s all this does.
Purpose
This extension is designed for testing and debugging purposes only. It allows developers to trigger exceptions on demand to test error handling and logging configurations in CKAN deployments.
Installation
To install ckanext-exception:
Activate your CKAN virtual environment:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-exception Python package:
pip install -e git+https://github.com/okfn/ckanext-exception.git#egg=ckanext-exception
Add exception to the ckan.plugins setting in your CKAN config file.
Restart CKAN.
Warning
This extension is for development and testing only. Do NOT use in production environments.
License
AGPL-3.0 license