updated sentry package
This commit is contained in:
@ -18,6 +18,7 @@ class Sentry
|
||||
'locale' => (string) app()->getLocale(),
|
||||
'timezone' => (string) config('app.timezone'),
|
||||
'app_type' => (string) static::getAppType(),
|
||||
'route_name' => (string) static::getRouteName(),
|
||||
]);
|
||||
|
||||
return $event;
|
||||
@ -67,4 +68,9 @@ class Sentry
|
||||
|
||||
return $app_type;
|
||||
}
|
||||
|
||||
public static function getRouteName(): ?string
|
||||
{
|
||||
return request()->route()->getName();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user