Throws error in `production` environment: "... doesn't set an transport agent ..."
Summary
Logger throws error:
/app/node_modules/@openstapps/logger/lib/Logger.js:109
backend_1 | throw new Error('Productive environment doesn\'t set an transport agent for error notifications');
Although all variables for SMTP transport are set.
Steps to reproduce
Start Backend in docker-compose with SMTP transport configuration environment and NODE_ENV: "production"
What is the current bug behavior?
Backend is not starting in production mode and trows error.
What is the expected correct behavior?
Backend starts using logger with configured SMTP transport.
Edited by Sebastian Lange