lib/graphql/schema/base_64_encoder.rb in graphql-1.10.7 vs lib/graphql/schema/base_64_encoder.rb in graphql-1.10.8

- old
+ new

@@ -11,9 +11,11 @@ end def self.decode(encoded_text, nonce: false) # urlsafe_decode64 is for forward compatibility Base64Bp.urlsafe_decode64(encoded_text) + rescue ArgumentError + raise GraphQL::ExecutionError, "Invalid input: #{encoded_text.inspect}" end end end end