From de0ef2ef14efcbc15d16350358c81e6014726b1a Mon Sep 17 00:00:00 2001 From: Damien Voreiter <78789202+DamienVoreiter@users.noreply.github.com> Date: Thu, 8 Sep 2022 14:17:25 +0200 Subject: [PATCH] Update lib/couchbase-orm/proxies/bucket_proxy.rb --- lib/couchbase-orm/proxies/bucket_proxy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/couchbase-orm/proxies/bucket_proxy.rb b/lib/couchbase-orm/proxies/bucket_proxy.rb index 106f8c82..259ecd1e 100644 --- a/lib/couchbase-orm/proxies/bucket_proxy.rb +++ b/lib/couchbase-orm/proxies/bucket_proxy.rb @@ -5,7 +5,7 @@ module CouchbaseOrm class BucketProxy def initialize(proxyfied) - raise "Must proxy a non nil object" if proxyfied.nil? + raise ArgumentError, "Must proxy a non nil object" if proxyfied.nil? @proxyfied = proxyfied