diff --git a/main.js b/main.js index 42d5db9a7..52094606a 100644 --- a/main.js +++ b/main.js @@ -827,7 +827,7 @@ async function buildHtmlPages(forceBuild) { try { await uploadAdapter(); } catch (e) { - this.log.error(`Could not upload adapter: ${e.message}`) + adapter.log.error(`Could not upload adapter: ${e.message}`) } // terminate promise