Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 441 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 441 Bytes

Curl exception catcher for Bug Tracker

Setup

composer require php-bug-catcher/bug-catcher-curl-reporter

Try it

$curlReporter = new \BugCatcher\Reporter\CurlReporter(
    "https://YourBugTrackerInstance.com:8000",
    'projectName',
    true
);
try {
    throw new Exception("Test exception");
} catch (Exception $e) {
    $curlReporter->reportException($e);
}