Skip to content

Instantly share code, notes, and snippets.

@jmettraux
Created June 19, 2011 13:34
Show Gist options
  • Save jmettraux/1034280 to your computer and use it in GitHub Desktop.
Save jmettraux/1034280 to your computer and use it in GitHub Desktop.
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