Skip to content

Commit 09d8333

Browse files
antonymarionerossignon
authored andcommitted
Update Solid.cc
1 parent 7fb66cc commit 09d8333

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Solid.cc

+4-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,10 @@ v8::Local<v8::Object> Solid::createMesh(double factor, double angle, bool qualit
476476
try {
477477
mesh->extractFaceMesh(face, qualityNormals);
478478
} catch(Standard_Failure const& anException) {
479-
479+
Standard_SStream aMsg;
480+
aMsg << "EXCEPTION in mesh->extractFaceMesh" << endl;
481+
aMsg << anException << endl;
482+
Nan::ThrowError(aMsg.str().c_str());
480483
}
481484
}
482485
}

0 commit comments

Comments
 (0)