diff --git a/packages/content-handler/src/content-handler.ts b/packages/content-handler/src/content-handler.ts index ae3a81636..9fef1ffe8 100644 --- a/packages/content-handler/src/content-handler.ts +++ b/packages/content-handler/src/content-handler.ts @@ -160,7 +160,7 @@ export abstract class ContentHandler { html, headers, }: NewsletterInput): Promise { - console.log('handleNewsletter', from, to, subject, headers, from) + console.log('handleNewsletter', from, to, subject, headers) if (!from || !html || !subject || !to) { console.log('invalid newsletter email') diff --git a/packages/text-to-speech/src/htmlToSsml.ts b/packages/text-to-speech/src/htmlToSsml.ts index 686c47800..125bd333d 100644 --- a/packages/text-to-speech/src/htmlToSsml.ts +++ b/packages/text-to-speech/src/htmlToSsml.ts @@ -298,9 +298,9 @@ const textToUtterances = ({ try { text = htmlToText(text, { wordwrap: false }) } catch (err) { - console.error('Unable to convert HTML to text, html:') + console.error('Unable to convert HTML to text') text = parseHTML(text).document.documentElement.textContent ?? text - console.info('Converted HTML to text:', text) + console.info('Converted HTML to text') } const MAX_CHARS = 256 let sentences: string[] = []