From 94dd87741e6b35ff5e5214c92343705397ee69b2 Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Thu, 24 Apr 2014 17:58:37 -0700 Subject: [PATCH] ocd --- lib/context.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/context.js b/lib/context.js index 0511558..fc1d6e5 100644 --- a/lib/context.js +++ b/lib/context.js @@ -87,7 +87,7 @@ var proto = module.exports = { // don't do anything if there is no error. // this allows you to pass `this.onerror` // to node-style callbacks. - if (undefined == err) return; + if (null == err) return; assert(err instanceof Error, 'non-error thrown: ' + err);