Skip to content

cossou/CodeIgniter-Airbrake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeIgniter Airbrake Library

Just a small library for Airbrake based on PHP Airbrake from Drew Butler.

#Usage

Get the last version of https://github.com/nodrew/php-airbrake/ and put it in the third_party folder.
Put your API in the config/airbrake.php and then:

<?php

$this->load->library('AirbrakeCI');

// Send a error message
$airbrakeci->notifyOnError('Error message'); 

// Or send an exception that may have been generated or caught.
try {
    throw new Exception('This is my exception');

} catch (Exception $exception) {
    $airbrakeci->notifyOnException($exception);
}

About

CodeIgniter Library for Airbrake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages