We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c139b5 commit 84c2aeaCopy full SHA for 84c2aea
packages/neovim/bin/cli.js
@@ -1,6 +1,5 @@
1
#!/usr/bin/env node
2
const { Host } = require('../lib/host');
3
-const { getLogger } = require('../lib/utils/logger');
4
const { spawnSync } = require('child_process');
5
6
// node <current script> <rest of args>
@@ -35,9 +34,9 @@ try {
35
34
const host = new Host(args);
36
host.start({ proc: process });
37
} catch (err) {
38
- getLogger().error(err);
+ process.stderr.write(`failed to start Nvim plugin host: ${err.name}: ${err.message}\n`);
39
}
40
41
process.on('unhandledRejection', (reason, p) => {
42
- getLogger().info('Unhandled Rejection at:', p, 'reason:', reason);
+ process.stderr.write(`Unhandled Rejection at: ${p} reason: ${reason}\n`);
43
});
0 commit comments