Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
use envName from appConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
markusn committed Jun 27, 2022
1 parent 5f9d718 commit e779698
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const logger = winston.createLogger({
colors: logLevel.colors,
transports: transports,
exceptionHandlers: [new winston.transports.Console()],
exitOnError: config.envName !== "production",
exitOnError: appConfig.envName !== "production",
format: format.combine(
format.metadata({key: "metaData"}),
format(splatEntry)(),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"Markus Ekholm",
"Jens Carlén"
],
"version": "3.0.3",
"version": "3.0.4",
"engines": {
"node": ">=12 <=16"
},
Expand Down

0 comments on commit e779698

Please sign in to comment.