| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8e3a81e commit 392c881
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -40,7 +40,6 @@ using v8::Function; | |||
| 40 | 40 | using v8::FunctionCallbackInfo; | |
| 41 | 41 | using v8::FunctionTemplate; | |
| 42 | 42 | using v8::Int32; | |
| 43 | - using v8::Isolate; | ||
| 44 | 43 | using v8::Local; | |
| 45 | 44 | using v8::MaybeLocal; | |
| 46 | 45 | using v8::Object; | |
@@ -216,9 +215,8 @@ void PipeWrap::Open(const FunctionCallbackInfo<Value>& args) { | |||
| 216 | 215 | int err = uv_pipe_open(&wrap->handle_, fd); | |
| 217 | 216 | wrap->set_fd(fd); | |
| 218 | 217 | ||
| 219 | - Isolate* isolate = env->isolate(); | ||
| 220 | 218 | if (err != 0) | |
| 221 | - isolate->ThrowException(UVException(isolate, err, "uv_pipe_open")); | ||
| 219 | + env->ThrowUVException(err, "uv_pipe_open"); | ||
| 222 | 220 | } | |
| 223 | 221 | ||
| 224 | 222 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments