Created
August 29, 2010 17:38
-
-
Save mbleigh/556486 to your computer and use it in GitHub Desktop.
Revisions
-
mbleigh revised this gist
Aug 29, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ app.error(function(err, req, res, next) { if (process.env.RACK_ENV === 'production') { hoptoad.key = 'hoptoadkey'; hoptoad.notify(err); } return res.render('error.ejs', 500); -
mbleigh revised this gist
Aug 29, 2010 . 2 changed files with 18 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ app.error(function(err, req, res, next) { if (process.env.RACK_ENV === 'production') { hoptoad.key = '63da924b138bae57d1066c46accddbe7'; hoptoad.notify(err); } return res.render('error.ejs', 500); }); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ TypeError: Cannot set property '__filename' of undefined at ServerResponse.render (vendor/.npm/express/1.0.0rc2/package/lib/express/view.js:237:31) at Object.<anonymous> (/Users/mbleigh/node/flockfeed/server.js:40:16) at Object.handle (vendor/.npm/express/1.0.0rc2/package/lib/express/server.js:88:16) at next (vendor/.npm/connect/0.2.4/package/lib/connect/index.js:259:27) at pass (vendor/.npm/connect/0.2.4/package/lib/connect/middleware/router.js:75:21) at Object.router [as handle] (vendor/.npm/connect/0.2.4/package/lib/connect/middleware/router.js:80:10) at next (vendor/.npm/connect/0.2.4/package/lib/connect/index.js:264:23) at Object.handle (vendor/.npm/express/1.0.0rc2/package/lib/express/server.js:58:9) at next (vendor/.npm/connect/0.2.4/package/lib/connect/index.js:264:23) at Object.logger [as handle] (vendor/.npm/connect/0.2.4/package/lib/connect/middleware/logger.js:114:9) -
mbleigh revised this gist
Aug 29, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ app.error (err,req,res,next)-> if process.env.RACK_ENV == 'production' hoptoad.key = 'hoptoadkey' hoptoad.notify(err) res.render 'error.ejs', 500 -
mbleigh created this gist
Aug 29, 2010 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ app.error (err,req,res,next)-> if process.env.RACK_ENV == 'production' hoptoad.key = '63da924b138bae57d1066c46accddbe7' hoptoad.notify(err) res.render 'error.ejs', 500