Use node's error reporting system in browser.
This commit is contained in:
parent
409228207c
commit
c6e62dcffd
2 changed files with 4 additions and 1 deletions
|
@ -28,6 +28,9 @@ void NodeBindings::Initialize() {
|
|||
for (size_t i = 0; i < str_argv.size(); ++i)
|
||||
argv[i] = const_cast<char*>(str_argv[i].c_str());
|
||||
|
||||
// Open node's error reporting system for browser process.
|
||||
node::g_standalone_mode = is_browser_;
|
||||
|
||||
// Init node.
|
||||
node::Init(argv.size(), &argv[0]);
|
||||
v8::V8::Initialize();
|
||||
|
|
2
vendor/node
vendored
2
vendor/node
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 6dadfdb1f5fbaf0d7132fa2b4e4ed084bddead8a
|
||||
Subproject commit 0de88a487108937c80e1184db4ed8b4e7b236dae
|
Loading…
Reference in a new issue