update
This commit is contained in:
parent
ac76870d67
commit
c0805a285e
1 changed files with 2 additions and 1 deletions
|
|
@ -231,8 +231,9 @@ function validate_cron_expression($expression_to_validate): bool
|
||||||
function send_internal_notification(string $message): void
|
function send_internal_notification(string $message): void
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
$baseUrl = base_url(false);
|
||||||
$team = Team::find(0);
|
$team = Team::find(0);
|
||||||
$team->notify(new GeneralNotification('👀 Internal notifications: ' . $message));
|
$team->notify(new GeneralNotification("👀 Internal notifications from {$baseUrl}: " . $message));
|
||||||
} catch (\Throwable $th) {
|
} catch (\Throwable $th) {
|
||||||
ray($th->getMessage());
|
ray($th->getMessage());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue