From 18bdefbfac37cb0bee45c8716b16561359d61e2f Mon Sep 17 00:00:00 2001 From: terakilobyte Date: Tue, 14 Apr 2015 16:17:58 -0400 Subject: [PATCH] Add in message about twitter authorization being down temporarily to error handler --- app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 1833ad267d..729bfdb8ff 100644 --- a/app.js +++ b/app.js @@ -615,7 +615,10 @@ if (process.env.NODE_ENV === 'development') { var accept = accepts(req); var type = accept.type('html', 'json', 'text'); - var message = 'oops! Something went wrong. Please try again later.'; + var message = 'oops! Something went wrong. Please try again later.' + + ' Twitter authentication is currently unavailable for FreeCodeCamp.' + + ' We are working with Twitter to restore functionality' + + ' as soon as possible.'; console.log('ERROR!!', err); if (type === 'html') { req.flash('errors', { msg: message });