Skip to content
Snippets Groups Projects
Commit cad76df6 authored by Ondrej Rehounek's avatar Ondrej Rehounek
Browse files

Add article title

parent 8b065d61
No related branches found
No related tags found
2 merge requests!450Release,!449Bugfix import praha 11
Pipeline #7479 passed
......@@ -170,7 +170,7 @@ def get_or_create_image(
msg = "Nedohledán obrázek při importu článků - ani na disku, ani na URL"
log_message = "{}: cesta {}, URL {}\n".format(msg, file_path, img_url)
logger.warning(
msg,
log_message,
extra={
"file_path": file_path,
"img_name": img_name,
......@@ -479,7 +479,7 @@ class JekyllArticleImporter:
self.path, meta["image"], self.collection, self.repo_name
)
if log_message:
self.page_log += log_message
self.page_log += "{}: {}".format(article.title, log_message)
if self.dry_run:
return article
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment