THRIFT-2398:Improve Node Server Library\nClient: Node\nPatch: Randy Abernethy\n\nGeneral server parameter harmonization and comments
diff --git a/lib/nodejs/test/test_handler_promise.js b/lib/nodejs/test/test_handler_promise.js
index fc698eb..c1561bc 100644
--- a/lib/nodejs/test/test_handler_promise.js
+++ b/lib/nodejs/test/test_handler_promise.js
@@ -21,7 +21,7 @@
 //  Apache Thrift test service.

 

 var ttypes = require('./gen-nodejs/ThriftTest_types');

-var TException = require('thrift/thrift').TException;

+var TException = require('thrift').Thrift.TException;
 

 var ThriftTestHandler = exports.ThriftTestHandler = {

   testVoid: function() {