pesanan = $pesanan; } /** * Execute the job. */ public function handle(): void { try { $pesanan = Pesanan::find($this->pesanan->id); Log::error('Printing: ' . $pesanan->id); $print = new PrintOutController(); $print->print($pesanan->id); Log::error('Printed: ' . $pesanan->id); } catch (\Throwable $th) { //throw $th; Log::error($th->getMessage()); } } }