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

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0