diff --git a/app/Exceptions/Trackers/Bugsnag.php b/app/Exceptions/Trackers/Bugsnag.php index 9e5f943bd..df340570a 100644 --- a/app/Exceptions/Trackers/Bugsnag.php +++ b/app/Exceptions/Trackers/Bugsnag.php @@ -13,7 +13,7 @@ class Bugsnag { app('bugsnag')->setAppVersion(version('short')); - $tags = $this->getTrackerTags(); + $tags = self::getTrackerTags(); app('bugsnag')->registerCallback(function ($report) use($tags) { $report->setMetaData([ diff --git a/app/Exceptions/Trackers/Sentry.php b/app/Exceptions/Trackers/Sentry.php index 1258c2c20..98cdde0fb 100644 --- a/app/Exceptions/Trackers/Sentry.php +++ b/app/Exceptions/Trackers/Sentry.php @@ -16,7 +16,7 @@ class Sentry { $event->setRelease(version('short')); - $tags = $this->getTrackerTags(); + $tags = self::getTrackerTags(); $event->setTags($tags);