mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Native handler logs when completion callback for child process raises exception
This commit is contained in:
@@ -473,6 +473,11 @@ bool NativeHandler::Execute(const CefString& name,
|
||||
args.push_back(CefV8Value::CreateString([errorOutput UTF8String]));
|
||||
|
||||
callback->ExecuteFunction(callback, args, retval, e, false);
|
||||
|
||||
if (e.get()) {
|
||||
NSLog(@"Error thrown in TaskTerminatedHandle %s", e->GetMessage().ToString().c_str());
|
||||
}
|
||||
|
||||
context->Exit();
|
||||
|
||||
stdout.fileHandleForReading.writeabilityHandler = nil;
|
||||
|
||||
Reference in New Issue
Block a user