diff options
Diffstat (limited to 'src/net.cc')
-rw-r--r-- | src/net.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cc b/src/net.cc index 58abffa16..762cee3e6 100644 --- a/src/net.cc +++ b/src/net.cc @@ -99,7 +99,7 @@ Connection::ReadyStateGetter (Local<String> property, const AccessorInfo& info) } assert(0 && "This shouldnt happen"); - return ThrowException(String::New("This shouldn't happen.")); + return ThrowException(Exception::Error(String::New("This shouldn't happen."))); } void |