Skip to content

Instantly share code, notes, and snippets.

@gsamokovarov
Created August 23, 2014 16:44
Show Gist options
  • Save gsamokovarov/2a855de7737b8c2443ec to your computer and use it in GitHub Desktop.
Save gsamokovarov/2a855de7737b8c2443ec to your computer and use it in GitHub Desktop.
class Exception
def set_backtrace_with_extension
set_backtrace_without_extension(*args)
end
alias set_backtrace_without_extension set_backtrace
alias set_backtrace set_backtrace_with_extension
end
raise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment