From 0b853dab8c3de25c3c4851eaaf263c7becd46496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Charignon?= Date: Wed, 9 Oct 2024 18:13:17 +0200 Subject: [PATCH] Ajoute la version de l'appli dans le payload rollbar --- src/situations/commun/infra/report_erreurs.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/situations/commun/infra/report_erreurs.js b/src/situations/commun/infra/report_erreurs.js index 8f7a439b5..31d76fe35 100644 --- a/src/situations/commun/infra/report_erreurs.js +++ b/src/situations/commun/infra/report_erreurs.js @@ -8,7 +8,10 @@ const rollbar = new Rollbar({ captureUncaught: true, captureUnhandledRejections: true, payload: { - environment: process.env.ROLLBAR_ENV || process.env.NODE_ENV + environment: process.env.ROLLBAR_ENV || process.env.NODE_ENV, + custom: { + eva_version: process.env.SOURCE_VERSION_COURTE + } }, client: { javascript: {