diff --git a/be/app/Services/Karat/KaratService.php b/be/app/Services/Karat/KaratService.php index e464149..4c7fccc 100644 --- a/be/app/Services/Karat/KaratService.php +++ b/be/app/Services/Karat/KaratService.php @@ -153,6 +153,8 @@ class KaratService $notSyncedTimesheets->each(function ($timesheet) { if ($timesheet->subtask && $timesheet->subtask->mastertask->project) $this->syncTimesheet($timesheet); + else + echo "Timesheet with id: " . $timesheet->id . " has no project, subtask or mastertask" . PHP_EOL; }); }