mozilla/openbadges — pull request #586 by andrewhayward (2013-02-21 11:36:35+00:00)
Title: 404 Error Page

'Super basic', as per #569.

Some confusion around the `app.use(app.router)` addition. This is the way all the (good) examples suggest handling 404 errors, but requires the `app.router` middleware to be included somewhere prior to the `errorHandler` middleware, which wasn't being done. So I hope I've included it in the right place!