caboose-cms 0.7.31 → 0.7.32

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: 7f4a076cecb2c93b9817e00fc53ff92d574545d4
4
- data.tar.gz: 4e6cc681c9cb76e27eb6d30c0e3c4eb53c542ad8
3
+ metadata.gz: cf73a0624a9f94e70152332af86b9243830223b4
4
+ data.tar.gz: 7e0652094da351a6fac5869d5640519a6cd75227
5
5
  SHA512:
6
- metadata.gz: 5ea7fed410863a8d85346d4aafda342388202b672139506fe2f09ed117bb07024f86c33f60c0fe6d7fcdf9eecaea68fb7809dbeba0cfa151b7bc0013232bfe4c
7
- data.tar.gz: a4c7cf7a2b99da39f9b73992b1a67e4a5119536781391ecfa4d77c3230c5e20cb90ff8dec94cf0f3c0ab89071a1d26babd101b24f505d36b5cf77a7b0ce2c4e8
6
+ metadata.gz: 74fdea743f279164ccb14b373dbe6037e12e48a9fbc784df3329395ac65905dbfd40817477d47a1399028d735f6b0c87e4e1f450478effcfba6905236eacd6f3
7
+ data.tar.gz: 704317bed6f156998edc1eef3c94c2e900ae4ec1b8bcbac30c0ab5434233e050e883c3834e0d5e0e5dc66beab023b6a2965aa85008b62107c6e6f5b55cb8eec0
@@ -362,10 +362,16 @@ module Caboose
362
362
  # Take funds from any gift cards that were used on the order
363
363
  order.take_gift_card_funds
364
364
 
365
- # Send out emails
366
- OrdersMailer.delay.configure_for_site(@site.id).customer_new_order(order).deliver
367
- OrdersMailer.delay.configure_for_site(@site.id).fulfillment_new_order(order).deliver
368
-
365
+ # Send out emails
366
+ begin
367
+ OrdersMailer.configure_for_site(@site.id).customer_new_order(order).deliver
368
+ OrdersMailer.configure_for_site(@site.id).fulfillment_new_order(order).deliver
369
+ rescue
370
+ puts "=================================================================="
371
+ puts "Error sending out order confirmation emails for order ID #{@order.id}"
372
+ puts "=================================================================="
373
+ end
374
+
369
375
  # Emit order event
370
376
  Caboose.plugin_hook('order_authorized', order)
371
377
  else
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.7.31'
2
+ VERSION = '0.7.32'
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.31
4
+ version: 0.7.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry