Feature #5987

IPAddr#initialize should display the invalid address when raising ArgumentError

Added by Hal Brodigan about 2 years ago. Updated over 1 year ago.

[ruby-core:42445]
Status:Assigned
Priority:Normal
Assignee:Akinori MUSHA
Category:core
Target version:next minor

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 about 2 years ago

  • Tracker changed from Bug to Feature

#2 Updated by Yui NARUSE about 2 years ago

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

#3 Updated by Yusuke Endoh over 1 year ago

  • Target version set to next minor

Also available in: Atom PDF