diff --git a/configs/client-default.js b/configs/client-default.js index 4f555a68..bc549a1a 100644 --- a/configs/client-default.js +++ b/configs/client-default.js @@ -314,7 +314,10 @@ module.exports = function(options) { packagePath: "plugins/c9.ide.language.trace/trace", extendToken: extendToken, }, - "plugins/c9.ide.language.trace/ui", + { + packagePath: "plugins/c9.ide.language.trace/ui", + workspaceDir: workspaceDir, + }, // Run { diff --git a/node_modules/vfs-local/localfs.js b/node_modules/vfs-local/localfs.js index 6168cdd1..2ecf079e 100644 --- a/node_modules/vfs-local/localfs.js +++ b/node_modules/vfs-local/localfs.js @@ -211,7 +211,7 @@ module.exports = function setup(fsOptions) { var args = Array.prototype.slice.apply(arguments); var d = domain.create(); d.on("error", function(e) { - console.error("VFS Exception in function '" + func + "':\n" + e.stack); + console.error("VFS Exception in function '" + func + "':\n", (e.stack || e)); vfs.emit("error", { message: e.message, func: func, @@ -220,7 +220,7 @@ module.exports = function setup(fsOptions) { }); console.log("Scheduling process exit"); setTimeout(function() { - console.log("Exiting after uncaught exception in '" + func + "':\n" + e.stack) + console.log("Exiting after uncaught exception in '" + func + "':\n", (e.stack || e)) process.exit(1); }, 2000); }); diff --git a/plugins/c9.fs/mock/test.js b/plugins/c9.fs/mock/test.js index 94948eaf..b07b88ff 100644 --- a/plugins/c9.fs/mock/test.js +++ b/plugins/c9.fs/mock/test.js @@ -28,4 +28,4 @@ var i = 0; console.log(greeter(user), Date.now(), i++); setInterval(function(){ console.log(greeter(user), Date.now(), i++); -}, 1000); \ No newline at end of file +}, 10000);