php-bug-catcher/bug-catcher-curl-reporter

用于向Bug Catcher报告异常的库

v1.0.0 2024-08-18 19:22 UTC

This package is auto-updated.

Last update: 2024-09-18 19:31:41 UTC


README

设置

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);
}