render(); Log::info("Test Pack Cleanup completed successfully", [ 'weld_log_id' => $data->id ]); return [ 'success' => true, 'result' => 'cleanup_completed' ]; } catch (\Throwable $th) { Log::error("Test Pack Cleanup failed (non-critical)", [ 'weld_log_id' => $data->id, 'error' => $th->getMessage(), 'file' => $th->getFile(), 'line' => $th->getLine() ]); // This is a non-critical operation, don't throw exception return [ 'success' => false, 'error' => $th->getMessage(), 'note' => 'non_critical_operation' ]; } } }