Skip to content

Instantly share code, notes, and snippets.

@jipiboily
Created April 4, 2014 14:58
Show Gist options
  • Save jipiboily/9976392 to your computer and use it in GitHub Desktop.
Save jipiboily/9976392 to your computer and use it in GitHub Desktop.
Can we do this?
trace = TracePoint.new(:raise) do |trace|
puts trace.raised_exception if "IT WAS NOT RESCUED"
end
trace.enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment