Extension Exception


Extension Basics

Title
Exception
Name
ckanext-exception
Type
Public extension
Description
Minimal CKAN plugin purely created to throw exceptions and test logging functionality.
CKAN versions
Download-Url (zip)
Last commit
11 years ago (2014-08-18 10:00:58)
Url to repo
Category
Specialized Tools


Background Infos

Description (long)
Show details

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:

  1. Activate your CKAN virtual environment:

    . /usr/lib/ckan/default/bin/activate
    
  2. Install the ckanext-exception Python package:

    pip install -e git+https://github.com/okfn/ckanext-exception.git#egg=ckanext-exception
    
  3. Add exception to the ckan.plugins setting in your CKAN config file.

  4. Restart CKAN.

Warning

This extension is for development and testing only. Do NOT use in production environments.

License

AGPL-3.0 license

Version
0.0.1
Version release date
2014-08-18
Contact name
Open Knowledge Foundation
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Add ‘exception’ to ckan.plugins. WARNING: This extension is for testing/debugging only - NOT for production use!

Plugins to configure (ckan.ini)
exception
CKAN Settings (ckan.ini)
# No configuration options - this is a testing-only extension
DB migration to be executed
(not set)
<< back to Extensions