Skip to content

Commit

Permalink
Ajoute la version de l'appli dans le payload rollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneCharignon committed Oct 9, 2024
1 parent 20caddc commit 0b853da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/situations/commun/infra/report_erreurs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 0b853da

Please sign in to comment.