Skip to content
Snippets Groups Projects
Unverified Commit 4973f670 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #6844 from MikeMcQuaid/download_strategy_typeerror

download_strategy: use (more consistent) TypeError.
parents 3946a147 dccedbf1
No related branches found
No related tags found
No related merge requests found
...@@ -1122,7 +1122,7 @@ class DownloadStrategyDetector ...@@ -1122,7 +1122,7 @@ class DownloadStrategyDetector
when :post then CurlPostDownloadStrategy when :post then CurlPostDownloadStrategy
when :fossil then FossilDownloadStrategy when :fossil then FossilDownloadStrategy
else else
raise "Unknown download strategy #{symbol} was requested." raise TypeError, "Unknown download strategy #{symbol} was requested."
end end
end end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment