diff --git a/src/node.cc b/src/node.cc index 9830b1fb695..ba285aa0e55 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1679,7 +1679,7 @@ Handle DLOpen(const v8::Arguments& args) { if (err.code == UV_ENOENT) message = "Module entry point not found."; else - message = "Out of memory."; + message = uv_strerror(err); return ThrowException(Exception::Error(String::New(message))); }