diff --git a/lib/application.js b/lib/application.js index fb766f5..646d97f 100644 --- a/lib/application.js +++ b/lib/application.js @@ -33,7 +33,7 @@ exports = module.exports = Application; function Application() { if (!(this instanceof Application)) return new Application; this.env = process.env.NODE_ENV || 'development'; - this.on('error', this.onerror.bind(this)); + this.on('error', this.onerror); this.outputErrors = 'test' != this.env; this.subdomainOffset = 2; this.poweredBy = true;