소스 검색

Log current url when container isn't found

Thibaut 11 년 전
부모
커밋
89b98bc10a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/docs/filters/core/container.rb

+ 1 - 1
lib/docs/filters/core/container.rb

@@ -7,7 +7,7 @@ module Docs
       container = container.call self if container.is_a? Proc
 
       if container
-        doc.at_css(container) || raise(ContainerNotFound, "element '#{container}' could not be found in the document")
+        doc.at_css(container) || raise(ContainerNotFound, "element '#{container}' could not be found in the document, url=#{current_url}")
       else
         doc
       end