Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glossy ReferenceError: formattedDate is not defined #71

Open
Mihailoff opened this issue May 20, 2017 · 0 comments
Open

Glossy ReferenceError: formattedDate is not defined #71

Mihailoff opened this issue May 20, 2017 · 0 comments

Comments

@Mihailoff
Copy link

My app is in strict mode. winston-papertrail@1.0.5

ReferenceError: formattedDate is not defined
web_1       |     at generateDate (/usr/src/app/node_modules/glossy/lib/glossy/produce.js:376:19)
web_1       |     at GlossyProducer.produce (/usr/src/app/node_modules/glossy/lib/glossy/produce.js:171:22)
web_1       |     at Papertrail.sendMessage (/usr/src/app/node_modules/winston-papertrail/lib/winston-papertrail.js:390:30)
web_1       |     at Papertrail.log (/usr/src/app/node_modules/winston-papertrail/lib/winston-papertrail.js:347:10)
web_1       |     at transportLog (/usr/src/app/node_modules/winston/lib/winston/logger.js:228:15)
web_1       |     at /usr/src/app/node_modules/winston/node_modules/async/lib/async.js:157:13
web_1       |     at _each (/usr/src/app/node_modules/winston/node_modules/async/lib/async.js:57:9)
web_1       |     at Object.async.each (/usr/src/app/node_modules/winston/node_modules/async/lib/async.js:156:9)
web_1       |     at Logger.log (/usr/src/app/node_modules/winston/lib/winston/logger.js:240:9)
web_1       |     at target.(anonymous function) [as info] (/usr/src/app/node_modules/winston/lib/winston/common.js:54:18)
web_1       |     at Log.self.(anonymous function) [as info] (/usr/src/app/node_modules/express-winston-middleware/index.js:305:31)
web_1       |     at ServerResponse.res.end (/usr/src/app/node_modules/express-winston-middleware/index.js:132:31)
web_1       |     at writeend (/usr/src/app/node_modules/express-session/index.js:266:14)
web_1       |     at ontouch (/usr/src/app/node_modules/express-session/index.js:348:11)
web_1       |     at tryCatcher (/usr/src/app/node_modules/connect-mongo/node_modules/bluebird/js/release/util.js:16:23)
web_1       |     at Promise.successAdapter [as _fulfillmentHandler0] (/usr/src/app/node_modules/connect-mongo/node_modules/bluebird/js/release/nodeify.js:22:30)
web_1       |     at Promise._settlePromise (/usr/src/app/node_modules/connect-mongo/node_modules/bluebird/js/release/promise.js:566:21)
web_1       |     at Promise._settlePromise0 (/usr/src/app/node_modules/connect-mongo/node_modules/bluebird/js/release/promise.js:614:10)
web_1       |     at Promise._settlePromises (/usr/src/app/node_modules/connect-mongo/node_modules/bluebird/js/release/promise.js:693:18)
web_1       |     at Promise._fulfill (/usr/src/app/node_modules/connect-mongo/node_modules/bluebird/js/release/promise.js:638:18)
web_1       |     at Promise._resolveCallback (/usr/src/app/node_modules/connect-mongo/node_modules/bluebird/js/release/promise.js:432:57)
web_1       |     at Promise._settlePromiseFromHandler (/usr/src/app/node_modules/connect-mongo/node_modules/bluebird/js/release/promise.js:524:17)
web_1       |     at Promise._settlePromise (/usr/src/app/node_modules/connect-mongo/node_modules/bluebird/js/release/promise.js:569:18)
web_1       |     at Promise._settlePromise0 (/usr/src/app/node_modules/connect-mongo/node_modules/bluebird/js/release/promise.js:614:10)
web_1       |     at Promise._settlePromises (/usr/src/app/node_modules/connect-mongo/node_modules/bluebird/js/release/promise.js:693:18)
web_1       |     at Promise._fulfill (/usr/src/app/node_modules/connect-mongo/node_modules/bluebird/js/release/promise.js:638:18)
web_1       |     at /usr/src/app/node_modules/connect-mongo/node_modules/bluebird/js/release/nodeback.js:45:21
web_1       |     at handleCallback (/usr/src/app/node_modules/mongodb/lib/utils.js:120:56)

Most likely it has been fixed already squeeks/glossy@734b9c8 and you need to update dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant