lib/cryptum/order_book/profit_margin.rb in cryptum-0.0.386 vs lib/cryptum/order_book/profit_margin.rb in cryptum-0.0.387

- old
+ new

@@ -36,11 +36,11 @@ profit_margin_status_out = "Profit Margin #{pm_op} TPM" indicator_hash[:invested] = invested indicator_hash[:status] = profit_margin_status_out indicator_status.profit_margin = indicator_hash - rescue StandardError => e - raise e + rescue Interrupt, StandardError => e + Cryptum::Log.append(level: :error, msg: e, which_self: self) end # Display Usage for this Module public_class_method def self.help