caboose-cms 0.7.30 → 0.7.31

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
  SHA1:
3
- metadata.gz: e1a2b599d4b6436f4ec68b1bbda09ad14dc412d2
4
- data.tar.gz: 1eac458365e4df16bb53ffbaab07771de308b64d
3
+ metadata.gz: 7f4a076cecb2c93b9817e00fc53ff92d574545d4
4
+ data.tar.gz: 4e6cc681c9cb76e27eb6d30c0e3c4eb53c542ad8
5
5
  SHA512:
6
- metadata.gz: 40904aa6cac95f6f64e06af5832a405c5eae3f0f180f99e58db8d0228bc25a9cb928b58b53da325412c316f0ba1e684d09dda1d6fbdd004500852a9b07ebe6e2
7
- data.tar.gz: acaf7f38eef8595d9814a416107a62134bd52adf5b688a3f6981af32624af812b848ca99b20eb6124138c4078c4eb1cb8a50887ece59b5c772d91ba843f60499
6
+ metadata.gz: 5ea7fed410863a8d85346d4aafda342388202b672139506fe2f09ed117bb07024f86c33f60c0fe6d7fcdf9eecaea68fb7809dbeba0cfa151b7bc0013232bfe4c
7
+ data.tar.gz: a4c7cf7a2b99da39f9b73992b1a67e4a5119536781391ecfa4d77c3230c5e20cb90ff8dec94cf0f3c0ab89071a1d26babd101b24f505d36b5cf77a7b0ce2c4e8
@@ -149,9 +149,15 @@ module Caboose
149
149
  # Take funds from any gift cards that were used on the order
150
150
  @order.take_gift_card_funds
151
151
 
152
- # Send out emails
153
- OrdersMailer.configure_for_site(@site.id).customer_new_order(@order).deliver
154
- OrdersMailer.configure_for_site(@site.id).fulfillment_new_order(@order).deliver
152
+ # Send out emails
153
+ begin
154
+ OrdersMailer.configure_for_site(@site.id).customer_new_order(@order).deliver
155
+ OrdersMailer.configure_for_site(@site.id).fulfillment_new_order(@order).deliver
156
+ rescue
157
+ puts "=================================================================="
158
+ puts "Error sending out order confirmation emails for order ID #{@order.id}"
159
+ puts "=================================================================="
160
+ end
155
161
 
156
162
  # Emit order event
157
163
  Caboose.plugin_hook('order_authorized', @order)
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.7.30'
2
+ VERSION = '0.7.31'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.30
4
+ version: 0.7.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry