Commit 69b18c7f0e9c83157abfa776b0d471e7eaba08f0
1 parent
c38c95936b
Exists in
master
Debug production
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
lib/webservice/router/priceplan.js
... | ... | @@ -3,7 +3,8 @@ const bodyParser = require('body-parser'); |
3 | 3 | const logger = require('komodo-sdk/logger'); |
4 | 4 | const dbKomodo = require('../../db-komodo'); |
5 | 5 | |
6 | -const DEBUG = process.NODE_ENV !== 'production'; | |
6 | +const DEBUG = process.env.NODE_ENV !== 'production'; | |
7 | +logger.info(`PRODUCTION MODE: ${!DEBUG}`); | |
7 | 8 | |
8 | 9 | const router = express.Router(); |
9 | 10 | module.exports = router; |