Feature #5987

IPAddr#initialize should display the invalid address when raising ArgumentError

Added by Hal Brodigan over 3 years ago. Updated almost 3 years ago.

[ruby-core:42445]
Status:Assigned
Priority:Normal
Assignee:Akinori MUSHA

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.

History

#1 Updated by Yui NARUSE over 3 years ago

  • Tracker changed from Bug to Feature

#2 Updated by Yui NARUSE over 3 years ago

  • Status changed from Open to Assigned
  • Assignee set to Akinori MUSHA

#3 Updated by Yusuke Endoh almost 3 years ago

  • Target version set to next minor

Also available in: Atom PDF