core: EINVAL is not a metadata URL
This commit is contained in:
parent
171b7c76d7
commit
b6830639dd
|
@ -3,6 +3,7 @@
|
||||||
BUG FIXES:
|
BUG FIXES:
|
||||||
|
|
||||||
- core: V1 Vagrantfiles can upgrade provisioners properly. [GH-3092]
|
- core: V1 Vagrantfiles can upgrade provisioners properly. [GH-3092]
|
||||||
|
- core: Rare EINVAL errors on box adding are gone. [GH-3094]
|
||||||
|
|
||||||
## 1.5.0 (March 10, 2014)
|
## 1.5.0 (March 10, 2014)
|
||||||
|
|
||||||
|
|
|
@ -450,6 +450,10 @@ module Vagrant
|
||||||
return true
|
return true
|
||||||
rescue Errors::BoxMetadataMalformed
|
rescue Errors::BoxMetadataMalformed
|
||||||
return false
|
return false
|
||||||
|
rescue Errno::EINVAL
|
||||||
|
# Actually not sure what causes this, but its always
|
||||||
|
# in a case that isn't true.
|
||||||
|
return false
|
||||||
rescue Errno::ENOENT
|
rescue Errno::ENOENT
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue