Commit a5178f90 authored by Jure's avatar Jure

Merge branch 'env-dev' into 'master'

Update env check

See merge request !119
parents 0a676241 2af8426c
Pipeline #2675 passed with stage
in 4 minutes and 16 seconds
......@@ -52,7 +52,7 @@ module.exports = (app = express()) => {
app.use((err, req, res, next) => {
// development error handler, will print stacktrace
if (app.get('env') === 'dev' || app.get('env') === 'test') {
if (app.get('env') === 'development' || app.get('env') === 'test') {
logger.error(err)
logger.error(err.stack)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment