typo
This commit is contained in:
parent
fba6ff7318
commit
87999ed564
@ -13,7 +13,7 @@ class Bugsnag
|
|||||||
{
|
{
|
||||||
app('bugsnag')->setAppVersion(version('short'));
|
app('bugsnag')->setAppVersion(version('short'));
|
||||||
|
|
||||||
$tags = self::getTrackerTags();
|
$tags = static::getTrackerTags();
|
||||||
|
|
||||||
app('bugsnag')->registerCallback(function ($report) use($tags) {
|
app('bugsnag')->registerCallback(function ($report) use($tags) {
|
||||||
$report->setMetaData([
|
$report->setMetaData([
|
||||||
|
@ -16,7 +16,7 @@ class Sentry
|
|||||||
{
|
{
|
||||||
$event->setRelease(version('short'));
|
$event->setRelease(version('short'));
|
||||||
|
|
||||||
$tags = self::getTrackerTags();
|
$tags = static::getTrackerTags();
|
||||||
|
|
||||||
$event->setTags($tags);
|
$event->setTags($tags);
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ use Illuminate\Support\Str;
|
|||||||
|
|
||||||
trait Trackers
|
trait Trackers
|
||||||
{
|
{
|
||||||
public function getTrackerTags(): array
|
public static function getTrackerTags(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'company_id' => (string) company_id(),
|
'company_id' => (string) company_id(),
|
||||||
|
@ -87,7 +87,7 @@ class Trackers extends Component
|
|||||||
return $tags;
|
return $tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->getTrackerTags();
|
return static::getTrackerTags();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getParams($params)
|
public function getParams($params)
|
||||||
@ -105,7 +105,7 @@ class Trackers extends Component
|
|||||||
case 'sentry':
|
case 'sentry':
|
||||||
$params = [
|
$params = [
|
||||||
'release' => version('short'),
|
'release' => version('short'),
|
||||||
'traces_sample_rate' => $this->sentryTracesSampleRate(),
|
'traces_sample_rate' => static::sentryTracesSampleRate(),
|
||||||
];
|
];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user