mirror of
https://github.com/mclueppers/xo-server.git
synced 2025-04-08 20:55:02 +02:00
Use superstack to have better stacktraces with async code.
This commit is contained in:
parent
e69db958b2
commit
f23905f5ee
@ -23,7 +23,8 @@
|
||||
"underscore": ">=1.5.2",
|
||||
"validator": ">=1.2.1",
|
||||
"ws": ">=0.4.27",
|
||||
"xmlrpc": ">=1.1.0"
|
||||
"xmlrpc": ">=1.1.0",
|
||||
"superstack": "0.0.3"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"optionalDependencies": {},
|
||||
|
@ -1,3 +1,12 @@
|
||||
// Enables strict mode for this whole file.
|
||||
'use strict';
|
||||
|
||||
// node.js does not give complete stacktrace with async code,
|
||||
// superstack is here for that!
|
||||
require('superstack');
|
||||
|
||||
//-------------------------------------
|
||||
|
||||
var _ = require('underscore');
|
||||
var connect = require('connect');
|
||||
var fs = require('fs');
|
||||
|
Loading…
x
Reference in New Issue
Block a user