From 80bd229bc646b23853226d6afa6107bb227f7fdc Mon Sep 17 00:00:00 2001 From: Matchu Date: Fri, 10 Nov 2023 17:27:35 -0800 Subject: [PATCH] Clarify an error message in `swf_assets:manifests` task It's not just that none of them were 200 OK, it's that they were all 404. In the event that something returns not-200 and not-404, we immediately abort, so we shouldn't get to this case unless they were all 404! --- lib/tasks/swf_assets.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/swf_assets.rake b/lib/tasks/swf_assets.rake index 45edbad6..ebff4fcb 100644 --- a/lib/tasks/swf_assets.rake +++ b/lib/tasks/swf_assets.rake @@ -89,5 +89,5 @@ def infer_manifest_url(swf_url, internet) end # Otherwise, there's no valid manifest URL. - raise "none of the common manifest URL patterns returned HTTP 200" + raise "all of the common manifest URL patterns returned HTTP 404" end