Curl exception catcher for Bug Tracker
composer require php-bug-catcher/bug-catcher-curl-reporter
$curlReporter = new \BugCatcher\Reporter\CurlReporter(
"https://YourBugTrackerInstance.com:8000",
'projectName',
true
);
try {
throw new Exception("Test exception");
} catch (Exception $e) {
$curlReporter->reportException($e);
}