lib/cryptum/event/gtfo.rb in cryptum-0.0.386 vs lib/cryptum/event/gtfo.rb in cryptum-0.0.387
- old
+ new
@@ -19,11 +19,11 @@
option_choice: option_choice,
env: env,
event_history: event_history,
bot_conf: bot_conf
)
- 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: