cozy / cozy-home-v2

This repository was part of CozyV2 which has been deprecated
https://blog.cozycloud.cc/post/2016/11/21/On-the-road-to-Cozy-version-3
GNU Affero General Public License v3.0
94 stars 53 forks source link

TypeError: Object function (…) has no method 'error' #711

Open clochix opened 8 years ago

clochix commented 8 years ago

Seen in user logs. Version: 2.5.0

[TypeError: Object function (options) {
  return new Logger(options);
} has no method 'error']
TypeError: Object function (options) {
  return new Logger(options);
} has no method 'error'
    at /usr/local/cozy/apps/home/build/server/controllers/applications.js:50:18
    at /usr/local/cozy/apps/home/node_modules/cozy-notifications-helper/lib/notification-manager.js:94:18
    at parseBody (/usr/local/cozy/apps/home/node_modules/cozy-notifications-helper/node_modules/request-json/main.js:26:12)
    at Request._callback (/usr/local/cozy/apps/home/node_modules/cozy-notifications-helper/node_modules/request-json/main.js:81:18)
    at self.callback (/usr/local/cozy/apps/home/node_modules/cozy-notifications-helper/node_modules/request-json/node_modules/request/index.js:148:22)
    at Request.emit (events.js:95:17)
    at ClientRequest.self.clientErrorHandler (/usr/local/cozy/apps/home/node_modules/cozy-notifications-helper/node_modules/request-json/node_modules/request/index.js:257:10)
    at ClientRequest.emit (events.js:95:17)
    at Socket.socketErrorListener (http.js:1550:9)
    at Socket.emit (events.js:95:17)