From 8f43b21c3d0ee7e56047665dd0366bbbf3f35477 Mon Sep 17 00:00:00 2001 From: Brooke Kuhlmann Date: Thu, 30 Jul 2026 09:49:11 -0600 Subject: [PATCH] Fixed downloader to convert response failure to a string before logging This was causing crashes with the logger so we make the conversion to a string explicit now. Milestone: patch --- app/aspects/downloader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/aspects/downloader.rb b/app/aspects/downloader.rb index 6213e8b3..ad9de2a6 100644 --- a/app/aspects/downloader.rb +++ b/app/aspects/downloader.rb @@ -24,7 +24,7 @@ module Terminus def log result, uri case result in Success then logger.info { "Downloaded: #{uri}." } - in Failure(HTTP::Response => response) then log_error response.body + in Failure(HTTP::Response => response) then log_error response.body.to_s in Failure(String => message) then log_error message else log_error "Unable to download: #{uri.inspect}." end