Project

General

Profile

Actions

Bug #15447

closed

Raising an exception with non-exception cause breaks backtrace printer

Added by mame (Yusuke Endoh) almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
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) almost 4 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