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.
This commit is contained in:
Paulo Castellano 2026-06-13 14:02:42 -03:00
parent 478cad9f27
commit e77ba84f5d

View file

@ -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'));
}