bunny_app 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ef0fdf58b7fc7c4973466ba5c722802b73b2d94529087aa3dd1332290f2c044
4
- data.tar.gz: 8903c12d6412863560b7f25b6be25c2580a0b01cc8f8d9451b121e810b93333c
3
+ metadata.gz: ddee2a75dd5e0d155b6262ef9a0af252be0da7a23bf65c5b7082afe8f87944b4
4
+ data.tar.gz: 3ff475f3847b63fb0b0a2b779bf3df21f0ba5ed6d8cc682764e60b0b71eab2e9
5
5
  SHA512:
6
- metadata.gz: b95f160e2ed4c9b90a498310efd2dffc0909a825bb60ea3c8707c2bb2b7343b6e565561b046186c9874467c3cceaaef6795c696bbc8c969506aa18255ccd28d1
7
- data.tar.gz: 8a4e13af567f9cfd02f99135ca9fdd72bbf0a1e9787137944b6f3c22aef529f4c9ac8a2d35bd5991c96c9284a0ff4150b5a60b018757f0f24c70847984bc8180
6
+ metadata.gz: 634afceda6fe87a0de908fdfd8926dde84c48d0d8a56ebc54d4a08defb94ab3ace346646ec037eb5c6ded014788beeb5602cb1c0560a69c0ac2e47a8a22355ce
7
+ data.tar.gz: e0c605da0b2f6e53f2aef46e62067e1f575d73641d16eaf9b246ae6291c4e3b8903dd8f4f38a46ef5e83eae3008fb78b0e241ea7e00397582863f34ac097cca7
@@ -76,7 +76,10 @@ module BunnyApp
76
76
  when /403/ # HTTP 403
77
77
  raise AuthorizationError, res.parsed_response['error_decscription']
78
78
  else
79
- raise ResponseError, res.body # HTTP 400, 500 etc
79
+ # HTTP 400, 500 etc
80
+ puts "Bunny SDK Response Error Headers: #{res.headers}"
81
+ puts "Bunny SDK Response Error Body: #{res.body}"
82
+ raise ResponseError, res.body
80
83
  end
81
84
  end
82
85
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BunnyApp
4
- VERSION = '2.0.0'
4
+ VERSION = '2.0.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bunny_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bunny
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-08-18 00:00:00.000000000 Z
12
+ date: 2023-09-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty