Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Dumping and loading an Exception loses the backtrace information. #86

Open
Fryguy opened this Issue · 0 comments

1 participant

@Fryguy

Dumping and loading an Exception loses the backtrace information. The following test demonstrates this.

def test_exception_should_have_backtrace
  err = 1 / 0 rescue $!
  assert_not_nil err.backtrace
  assert_not_nil YAML.load(YAML.dump(err)).backtrace
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.