Skip to content

Commit

Permalink
fix: set rollbar environment properly
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszczerpak-cloudinary authored Aug 13, 2024
1 parent 25c687b commit f6d58ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const logger = new Rollbar({
verbose: true,
handleUncaughtExceptions: true,
handleUnhandledRejections: true,
environment: process.env.NODE_ENV || process.env.HOSTNAME,
environment: process.env.ENVIRONMENT || "development",
reportLevel: process.env.LOG_LEVEL || LOG_LEVEL_CRITICAL,
payload: {
system: {
Expand Down

0 comments on commit f6d58ef

Please sign in to comment.