From e77ba84f5dfca79fc4b219efb44b89b36fab3097 Mon Sep 17 00:00:00 2001 From: Paulo Castellano Date: Sat, 13 Jun 2026 14:02:42 -0300 Subject: [PATCH] Drop redundant malformed-feed log in Fetch RSS node The failed() result already surfaces the error; the Log::warning was duplicate noise. Removes the now-unused Log import. --- app/Actions/Automation/Node/RunFetchRssNode.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/Actions/Automation/Node/RunFetchRssNode.php b/app/Actions/Automation/Node/RunFetchRssNode.php index 98311ab7..45f7038b 100644 --- a/app/Actions/Automation/Node/RunFetchRssNode.php +++ b/app/Actions/Automation/Node/RunFetchRssNode.php @@ -13,7 +13,6 @@ use App\Services\Brand\SafeHttpFetcher; use Carbon\CarbonImmutable; use Illuminate\Support\Facades\Http; -use Illuminate\Support\Facades\Log; use RuntimeException; use SimpleXMLElement; use Throwable; @@ -66,13 +65,7 @@ public function __invoke(AutomationRun $run, array $config): NodeRunResult try { $xml = new SimpleXMLElement($response->body()); - } catch (Throwable $e) { - Log::warning('Fetch RSS node: malformed feed', [ - 'run_id' => $run->id, - 'feed_url' => $feedUrl, - 'error' => $e->getMessage(), - ]); - + } catch (Throwable) { return NodeRunResult::failed(__('automations.errors.fetch_rss_malformed')); }