fix: sentry error
This commit is contained in:
parent
ff752e2411
commit
d42934f258
@ -38,6 +38,8 @@ class ScheduledTaskJob implements ShouldQueue
|
||||
$this->resource = $service;
|
||||
} else if ($application = $task->application()->first()) {
|
||||
$this->resource = $application;
|
||||
} else {
|
||||
throw new \Exception('ScheduledTaskJob failed: No resource found.');
|
||||
}
|
||||
$this->team = Team::find($task->team_id);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user