From d8b9bbe438f7b41b7a28db2cf88ff6a6caaa3ca3 Mon Sep 17 00:00:00 2001 From: Nicolas Dupont Date: Mon, 17 Nov 2025 11:39:27 +0100 Subject: [PATCH 1/2] Fix environnement variable name --- src/collection-api/logger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collection-api/logger.js b/src/collection-api/logger.js index 8bef5dd68..ce5ebb126 100644 --- a/src/collection-api/logger.js +++ b/src/collection-api/logger.js @@ -17,7 +17,7 @@ if (config.get('@opentermsarchive/engine.logger.sendMailOnError')) { from: config.get('@opentermsarchive/engine.logger.sendMailOnError.from'), host: config.get('@opentermsarchive/engine.logger.smtp.host'), username: config.get('@opentermsarchive/engine.logger.smtp.username'), - password: process.env.SMTP_PASSWORD, + password: process.env.OTA_ENGINE_SMTP_PASSWORD, ssl: true, timeout: 30 * 1000, formatter: args => args[Object.getOwnPropertySymbols(args)[1]], // Returns the full error message, the same visible in the console. It is referenced in the argument object with a Symbol of which we do not have the reference but we know it is the second one. From f6af8171ef1c9c05bb046579fd3f28e443e4a68d Mon Sep 17 00:00:00 2001 From: Nicolas Dupont Date: Mon, 17 Nov 2025 11:40:27 +0100 Subject: [PATCH 2/2] Add changelog entry --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83b148ed9..b5a56d6c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All changes that impact users of this module are documented in this file, in the [Common Changelog](https://common-changelog.org) format with some additional specifications defined in the CONTRIBUTING file. This codebase adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased [patch] + +> Development of this release was supported by the [French Ministry for Foreign Affairs](https://www.diplomatie.gouv.fr/fr/politique-etrangere-de-la-france/diplomatie-numerique/) through its ministerial [State Startups incubator](https://beta.gouv.fr/startups/open-terms-archive.html) under the aegis of the Ambassador for Digital Affairs. + +### Fixed + +- Fix email reporting on collection API errors + ## 9.2.0 - 2025-11-05 _Full changeset and discussions: [#1173](https://github.com/OpenTermsArchive/engine/pull/1173)._