fix: sentry error
This commit is contained in:
		@@ -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);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user