* Electron version: 1.5.0
* Operating system: macOS 10.12

### Expected behavior

* An `uncaughtException` event is emitted on `process` in the main process for thrown errors

### Actual behavior

* Event is not emitted
* Error is logged in the terminal

### How to reproduce

* `throw Error('here')` in the main process
* Dialog does not popup

Only appears to happen in 1.5.0, not 1.4.x, possibly related to the node 7.4 upgrade.

atom/common/node_bindings.cc
DCHECK(task_runner_);
  task_runner_->PostTask(FROM_HERE, base::Bind(&NodeBindings::UvRunOnce,
                                               weak_factory_.GetWeakPtr()));
}
void NodeBindings::WakeupEmbedThread() {
  uv_async_send(&dummy_uv_handle_);
}
void NodeBindings::EmbedThreadRunner(void *arg) {
  NodeBindings* self = static_cast<NodeBindings*>(arg);
  while (true) {
    
    uv_sem_wait(&self->embed_sem_);
    if (self->embed_closed_)
      break;
    
    
    
    
    
    self->PollEvents();
    if (self->embed_closed_)
      break;
    
    self->WakeupMainThread();
  }
}
}