Skip to content

Commit

Permalink
better db error for users
Browse files Browse the repository at this point in the history
  • Loading branch information
athanhcong committed Jul 24, 2013
1 parent 645a526 commit 196710e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/evernote/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ app.all('/evernote/authentication', function(req, res){

if (!req.session) {
res.end("Sorry, BlogWith may experience a problem at this moment!\nPlease try again in a few minute!");
console.log("ALERT: No session!!!!");
return;
};

var url_parts = url.parse(req.url, true);
Expand Down

0 comments on commit 196710e

Please sign in to comment.