lib/nanoc/checking/checks/external_links.rb in nanoc-4.4.4 vs lib/nanoc/checking/checks/external_links.rb in nanoc-4.4.5
- old
+ new
@@ -101,10 +101,10 @@
end
end
if last_err
return Result.new(href, last_err.message)
else
- raise 'should not have gotten here'
+ raise Nanoc::Int::Errors::InternalInconsistency, 'last_err cannot be nil'
end
end
def path_for_url(url)
path =