Project

General

Profile

Actions

Bug #15447

closed

Raising an exception with non-exception cause breaks backtrace printer

Added by mame (Yusuke Endoh) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:90656]

Description

$ ./miniruby -e 'raise "foo", cause: 1' 
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
...
Actions #1

Updated by mame (Yusuke Endoh) over 5 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r66475.


eval_error.c (show_cause): check if cause is an Exception or not

Fixes [Bug #15447]

Actions

Also available in: Atom PDF

Like0
Like0