This commit is contained in:
barisusakli
2015-09-11 13:48:58 -04:00
parent a4d7022e68
commit e6755d0adc
5 changed files with 81 additions and 54 deletions

View File

@@ -493,7 +493,7 @@ accountsController.uploadPicture = function (req, res, next) {
}
], function(err, image) {
fs.unlink(userPhoto.path, function(err) {
winston.error('unable to delete picture', err);
winston.error('unable to delete picture ' + userPhoto.path, err);
});
if (err) {
return next(err);