Merge pull request #292 from hashicorp/box-collection-nit
Scope down rescue on BoxCollection.find
This commit is contained in:
commit
986e3fb258
@ -52,7 +52,7 @@ module VagrantPlugins
|
||||
res = client.find(SDK::BoxCollection::FindRequest.new(
|
||||
name: name, version: version, providers: Array(providers)
|
||||
))
|
||||
rescue
|
||||
rescue GRPC::NotFound
|
||||
logger.debug("box not found!")
|
||||
return nil
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user