start to debug
This commit is contained in:
@@ -11,7 +11,8 @@ module Positioned
|
||||
if pos == nil
|
||||
str = "position accessed but not set, "
|
||||
str += "#{object.object_id.to_s(16)}\n"
|
||||
raise str + "for #{object.class} byte_length #{object.byte_length if object.respond_to?(:byte_length)} for #{object.inspect[0...100]}"
|
||||
str += "for #{object.class} byte_length #{object.byte_length if object.respond_to?(:byte_length)} for #{object.inspect[0...100]}"
|
||||
raise str
|
||||
end
|
||||
pos
|
||||
end
|
||||
|
Reference in New Issue
Block a user