updated sentry package

This commit is contained in:
Denis Duliçi
2022-10-19 14:41:56 +03:00
parent 07e29d1650
commit c7d02e8fcc
5 changed files with 61 additions and 46 deletions

View File

@@ -16,8 +16,14 @@ class Bugsnag
'company_id' => (string) company_id(),
'locale' => (string) app()->getLocale(),
'timezone' => (string) config('app.timezone'),
'route_name' => (string) static::getRouteName(),
]
]);
});
}
public static function getRouteName(): ?string
{
return request()->route()->getName();
}
}