Created
June 19, 2011 13:34
-
-
Save jmettraux/1034280 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def self.perform(note) | |
puts "-" * 80 | |
puts "Write #{note}!" | |
client.update(note) | |
puts "-" * 80 | |
rescue Exception => e | |
puts "=" * 80 | |
puts "something went wrong" | |
p e | |
e.backtrace.each do |line| | |
puts line | |
end | |
puts "=" * 80 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment