Project

General

Profile

Actions

Feature #5987

closed

IPAddr#initialize should display the invalid address when raising ArgumentError

Feature #5987: IPAddr#initialize should display the invalid address when raising ArgumentError

Added by postmodern (Hal Brodigan) over 13 years ago. Updated about 7 years ago.

Status:
Closed
Target version:
-
[ruby-core:42445]

Description

I noticed that when IPAddr#initialize raises an ArgumentError on invalid addresses, it does not include the offending address in the exception message. This makes debugging difficult.

Updated by naruse (Yui NARUSE) over 13 years ago Actions #1

  • Tracker changed from Bug to Feature

Updated by naruse (Yui NARUSE) over 13 years ago Actions #2 [ruby-core:42462]

  • Status changed from Open to Assigned
  • Assignee set to knu (Akinori MUSHA)

Updated by mame (Yusuke Endoh) almost 13 years ago Actions #3 [ruby-core:49688]

  • Target version set to 2.6

Updated by naruse (Yui NARUSE) almost 8 years ago Actions #4

  • Target version deleted (2.6)

Updated by knu (Akinori MUSHA) about 7 years ago Actions #5

  • Status changed from Assigned to Closed

Applied in changeset trunk|r64244.


Include the input in the message when raising InvalidAddressError

[Feature #5987]

Actions

Also available in: PDF Atom