I think this TaskTryCatch was effectively eating exceptions.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3245 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2016-06-12 13:44:19 +00:00
parent 4eb208f751
commit 61ea965080

View File

@ -310,7 +310,6 @@ bool Task::execute(const char* fileName) {
void Task::invokeExport(const v8::FunctionCallbackInfo<v8::Value>& args) { void Task::invokeExport(const v8::FunctionCallbackInfo<v8::Value>& args) {
Task* sender = Task::get(args.GetIsolate()); Task* sender = Task::get(args.GetIsolate());
TaskTryCatch tryCatch(sender);
v8::Handle<v8::Object> data = v8::Handle<v8::Object>::Cast(args.Data()); v8::Handle<v8::Object> data = v8::Handle<v8::Object>::Cast(args.Data());
exportid_t exportId = data->Get(v8::String::NewFromUtf8(args.GetIsolate(), "export"))->Int32Value(); exportid_t exportId = data->Get(v8::String::NewFromUtf8(args.GetIsolate(), "export"))->Int32Value();
taskid_t recipientId = data->Get(v8::String::NewFromUtf8(args.GetIsolate(), "task"))->Int32Value(); taskid_t recipientId = data->Get(v8::String::NewFromUtf8(args.GetIsolate(), "task"))->Int32Value();