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
7 container = container.call self if container.is_a? Proc7 container = container.call self if container.is_a? Proc
8 8
9 if container9 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}")
11 else11 else
12 doc12 doc
13 end13 end