zuora_api 1.7.37 → 1.7.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e551fbf8c27edf49e97cbdadb3ae70a75707395443186bf517934a3f80b493d
4
- data.tar.gz: b92b4d11c9398a58aff351a13f2c266e639b5d72fedf14ba7500efda8fb26129
3
+ metadata.gz: 245951e70587ae74ff17c01dcb5d8e887f55c6d701fc8bf754b2dd02c016147d
4
+ data.tar.gz: 9a779fb7cbe240be90aa53e30de8d9f432e56f68c82d2aee1460c19e5ca5a7b3
5
5
  SHA512:
6
- metadata.gz: 0ba4dda0f63a723d00ae9bdbe534015d349824b4f8baf2596642c0266f65d40751af50a7cb91abae6c11310ff9a36a67fb7a0a73e94946c8b367600213a08d0e
7
- data.tar.gz: d07792f277182d4a7cc5480f20ba0681dfbea5d17706ceb7e2b44bf24e40a5963ec8457a02cfc31ced711d41231aed2525fac5cb0a7328145fc42cd47b72d4b8
6
+ metadata.gz: 20a51ad86ce033130aaa911b72703fce1b3ac3a98ff701c15d208b3edb5aaf1465730f78da4648d68b8ff7ef8b085997a82537e515871b5f95e6ea7f4145dfb7
7
+ data.tar.gz: 74774a78e29548fb79dec4f5782ce6fd1375a6ac6b5433ebd5cbf434c80488930de039803534fb618af26e244976151a9f2e481eb176dec5b32495458b5da92a
@@ -755,6 +755,9 @@ module ZuoraAPI
755
755
  when /INVALID_ID/, /MAX_RECORDS_EXCEEDED/, /INVALID_FIELD/, /MALFORMED_QUERY/, /NO_PERMISSION/, /PDF_QUERY_ERROR/, /MISSING_REQUIRED_VALUE/, /INVALID_TYPE/, /TRANSACTION_FAILED/, /API_DISABLED/
756
756
  raise ZuoraAPI::Exceptions::ZuoraAPIError.new(message, response, errors, success)
757
757
  when /.*soapenv:Server.*/
758
+ if /Invalid value.*for type|Id is invalid/.match(message).present?
759
+ raise ZuoraAPI::Exceptions::ZuoraAPIError.new(message, response, errors, success)
760
+ end
758
761
  raise ZuoraAPI::Exceptions::ZuoraAPIInternalServerError.new("#{error}::#{message}", response, errors, success)
759
762
  end
760
763
 
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.7.37"
2
+ VERSION = "1.7.38"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.37
4
+ version: 1.7.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zuora Strategic Solutions Group