Skip to content

Commit

Permalink
update readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctzombie committed Dec 30, 2012
1 parent ee96075 commit 3d9a638
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -11,17 +11,17 @@ var app = express();

// other middleware here

// routes ...
// app.get
// app.post

// the router should come before the error handling
app.use(app.router);

// make sure to use this middleware last
// make sure to use this middleware after the router
app.use(connect_raven( {{ SENTRY DSN }} ));

// routes ...
// app.get
// app.post

```

## references

* http://expressjs.com/guide.html#error-handling

0 comments on commit 3d9a638

Please sign in to comment.