wco_models 3.1.0.86 → 3.1.0.87
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/wco/publisher.rb +10 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f087d4035087c7f802c07037989c33caa48b4d6c6cc9e2672339afcae1be46d3
|
4
|
+
data.tar.gz: c88854d0a647ba472eb7585c9526304d3d4020f6bcefd0596430ea0b9379d3ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6aa78933c0e1dfce14ce9059a4b3d0bbacefdcfe080308197ff427728ae60d6508b9f61a7b573bc2bf31b790160a8fe74c5e0459f204dc6c2b0c2e4457ee3700
|
7
|
+
data.tar.gz: '0939f3c387a52c1edee06afcd4487cf3bd9be91c9c3c9c1bd406fbc6cdaa9b697e63130cd8d95145174e2f9493c1ddd1015b9a2efebfed40992aeeb44c7197dd'
|
data/app/models/wco/publisher.rb
CHANGED
@@ -41,9 +41,17 @@ class Wco::Publisher
|
|
41
41
|
headers: @headers,
|
42
42
|
basic_auth: { username: @site.username, password: @site.password },
|
43
43
|
})
|
44
|
-
puts! out.response, '
|
44
|
+
puts! out.response, 'publisher httparty response'
|
45
|
+
puts! out.body, 'publisher httparty body'
|
45
46
|
if out.code != 201
|
46
|
-
|
47
|
+
puts! out.body, "publisher#do_run non-201 status"
|
48
|
+
::ExceptionNotifier.notify_exception(
|
49
|
+
Exception.new,
|
50
|
+
data: {
|
51
|
+
httparty_body: out.body,
|
52
|
+
httparty: out,
|
53
|
+
label: "publisher#do_run non-201 status",
|
54
|
+
} )
|
47
55
|
end
|
48
56
|
|
49
57
|
eval( after_eval ) if after_eval.present?
|