diff options
Diffstat (limited to 'Library/Homebrew/resource.rb')
| -rw-r--r-- | Library/Homebrew/resource.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/resource.rb b/Library/Homebrew/resource.rb index 8c9e61ad8..d1f0b91b4 100644 --- a/Library/Homebrew/resource.rb +++ b/Library/Homebrew/resource.rb @@ -80,7 +80,7 @@ class Resource HOMEBREW_CACHE.mkpath downloader.fetch rescue ErrorDuringExecution, CurlDownloadStrategyError => e - raise DownloadError.new(downloader.name) + raise DownloadError.new(self, e) else cached_download end |
