lib/awestruct/handlers/base_tilt_handler.rb in awestruct-0.5.4.2 vs lib/awestruct/handlers/base_tilt_handler.rb in awestruct-0.5.5

- old
+ new

@@ -12,14 +12,14 @@ # if no portions of the path are registered to a Tilt template or the # Tilt template cannot be loaded. def match(path) matcher = ::Tilt[File.basename(path)] if matcher.nil? - $LOG.warn(%(Copying #{path} to generated site without processing; could not load engine for type)) + $LOG.warn(%(Copying #{path})) return false end - + # We have our own extra integration with Asciidoctor if matcher.name.include? 'Asciidoctor' return false end matcher @@ -139,12 +139,12 @@ ExceptionHelper.log_message "Please see #{File.join site.dir, error_page.output_path} for more information" return ExceptionHelper.html_error_report e, error_page.source_path rescue Exception => e error_page = context[:page] if error_page[:__is_layout] == true - ExceptionHelper.log_message "An error during rendering layout file #{File.join site.dir, error_page.source_path} occurred." + ExceptionHelper.log_message "An error during rendering layout file #{File.join site.dir, error_page.source_path} occurred." else - ExceptionHelper.log_message "An error during rendering #{File.join site.dir, error_page.source_path} occurred." + ExceptionHelper.log_message "An error during rendering #{File.join site.dir, error_page.source_path} occurred." end ExceptionHelper.log_message "Please see #{File.join site.dir, error_page.output_path} for more information" return ExceptionHelper.html_error_report e, error_page.source_path end end