mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Add exception warning to stdout handler of native child process exec
This commit is contained in:
@@ -457,6 +457,11 @@ bool NativeHandler::Execute(const CefString& name,
|
||||
|
||||
args.push_back(CefV8Value::CreateString(std::string([contents UTF8String], [contents lengthOfBytesUsingEncoding:NSUTF8StringEncoding])));
|
||||
function->ExecuteFunction(function, args, retval, e, false);
|
||||
|
||||
if (e.get()) {
|
||||
NSLog(@"Error thrown in OutputHandle %s", e->GetMessage().ToString().c_str());
|
||||
}
|
||||
|
||||
[contents release];
|
||||
context->Exit();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user