Merge pull request #292 from hashicorp/box-collection-nit

Scope down rescue on BoxCollection.find
This commit is contained in:
Paul Hinze 2022-06-28 15:23:33 -05:00 committed by GitHub
commit 986e3fb258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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