History

Log current url when container isn't found

Thibaut committed 12 years ago

Commit 89b98bc1 parent fd552381 file · +1 −1Browse files

Unified · Split

lib/docs/filters/core/container.rb+1−1
@@ -7,7 +7,7 @@ module Docs · 6 unmodified lines
77 container = container.call self if container.is_a? Proc
88
99 if container
10− doc.at_css(container) || raise(ContainerNotFound, "element '#{container}' could not be found in the document")
10+ doc.at_css(container) || raise(ContainerNotFound, "element '#{container}' could not be found in the document, url=#{current_url}")
1111 else
1212 doc
1313 end