neumino / rethinkdbdash

An advanced Node.js driver for RethinkDB with a connection pool, support for streams etc.
MIT License
848 stars 108 forks source link

Don't include backtraces at production #333

Open nicolasparada opened 7 years ago

nicolasparada commented 7 years ago

I suggest to not include the backtrace in the error message if process.env.NODE_ENV === 'production'.