Codebase Exceptions

Categories

Component ID

2830726

Component name

Codebase Exceptions

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Codebase Exceptions is a little module that allows to report Drupal's watchdog messages and exceptions to the repository hosted on Codebase platform. Codebase's exceptions handler conforms to the Airbrake spec, so there is no need to use external Airbrake library. What this module do is just sending (similar to Airbrake notifier) JSON data structure to https://exceptions.codebasehq.com

Installation

Install and enable this module just as any Drupal contributed module. If you are not familiar with module installation steps, please read Drupal documentation https://www.drupal.org/node/895232

Configuration

  1. login to your Codebase account and go to your project page
  2. copy your project ID (similar to XXXXXX)
  3. copy your project key (similar to xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx)
  4. go to admin/config/development/codebase_exceptions and paste ID, key strings into proper fields
  5. or just add $conf['codebase_exceptions_project_id'] and $conf['codebase_exceptions_project_key'] to your settings.php file
  6. test your integration using form at admin/config/development/codebase_exceptions/test

Thanks to Adam Kalsey for inspiration.