lib/yard/handlers/base.rb in yard-0.7.2 vs lib/yard/handlers/base.rb in yard-0.7.3
- old
+ new
@@ -487,10 +487,10 @@
retries += 1
if object.is_a?(Proxy)
if retries <= max_retries
log.debug "Missing object #{object} in file `#{parser.file}', moving it to the back of the line."
- raise Parser::LoadOrderError, context
+ raise Parser::LoadOrderError.new(context)
else
raise NamespaceMissingError, object
end
end
object
\ No newline at end of file