Project

General

Profile

Actions

Feature #5987

closed

IPAddr#initialize should display the invalid address when raising ArgumentError

Added by postmodern (Hal Brodigan) about 12 years ago. Updated over 5 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.

Actions #1

Updated by naruse (Yui NARUSE) about 12 years ago

  • Tracker changed from Bug to Feature

Updated by naruse (Yui NARUSE) about 12 years ago

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

Updated by mame (Yusuke Endoh) over 11 years ago

  • Target version set to 2.6
Actions #4

Updated by naruse (Yui NARUSE) over 6 years ago

  • Target version deleted (2.6)
Actions #5

Updated by knu (Akinori MUSHA) over 5 years ago

  • 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: Atom PDF

Like0
Like0Like0Like0Like0Like0