lib/cryptum/portfolio/balance.rb in cryptum-0.0.386 vs lib/cryptum/portfolio/balance.rb in cryptum-0.0.387
- old
+ new
@@ -104,11 +104,11 @@
symbolize_names: true
)
end
event_history
- rescue StandardError => e
- raise e
+ rescue Interrupt, StandardError => e
+ Cryptum::Log.append(level: :error, msg: e, which_self: self, event_history: event_history)
end
# Display Usage for this Module
public_class_method def self.help
puts "USAGE: