diff --git a/src/Downloader.ts b/src/Downloader.ts index 47fe800c..d96ffab4 100644 --- a/src/Downloader.ts +++ b/src/Downloader.ts @@ -655,7 +655,7 @@ class Downloader { const articleData = await this.getJSON(articleApiUrl) if (articleData.error) { - const errorMessage = `Unable to retrieve js/css dependencies for article '${this}': ${articleData.error.code}` + const errorMessage = `Unable to retrieve js/css dependencies for article '${title}': ${articleData.error.code}` logger.error(errorMessage) /* If article is missing (for example because it just has been deleted) */