Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var express = require('express')
- , app = express();
- app.use(app.router);
- app.use(function (err, req, res, next) {
- res.send({
- error_cause : err.message
- });
- });
- app.get('/', function (req, res) {
- test = {};
- test.asdf.lol = 'asdf';
- });
- app.listen(3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement