enable stack trace on server if NODE_ENV==='development'