Node.js based forum software built for the modern web
removed winston.err
barisusaklib7602c6e80b1
diff --git a/app.js b/app.jsindex fb757a497d..acb1a3baca 100644--- a/app.js+++ b/app.js@@ -46,11 +46,6 @@ winston.add(winston.transports.Console, {level: global.env === 'production' ? 'info' : 'verbose'});-// TODO: remove once https://github.com/flatiron/winston/issues/280 is fixed-winston.err = function (err) {- winston.error(err.stack);-};-if(os.platform() === 'linux') {require('child_process').exec('/usr/bin/which convert', function(err, stdout, stderr) {if(err || !stdout) {diff --git a/src/controllers/accounts.js b/src/controllers/accounts.jsindex c55977a351..84b0f96ad5 100644--- a/src/controllers/accounts.js+++ b/src/controllers/accounts.js@@ -466,7 +466,7 @@ accountsController.uploadPicture = function (req, res, next) {fs.unlink(absolutePath, function (err) {if (err) {- winston.err(err);+ winston.error(err);}file.saveFileToLocal(filename, 'profile', userPhoto.path, done);