Unified · Split
| @@ -7,7 +7,7 @@ module Docs · 6 unmodified lines | |||
| 7 | container = container.call self if container.is_a? Proc | 7 | container = container.call self if container.is_a? Proc |
| 8 | 8 | ||
| 9 | if container | 9 | 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 | else | 11 | else |
| 12 | doc | 12 | doc |
| 13 | end | 13 | end |