Part Design: Allow attachment error messages and error setting propagation

This commit is contained in:
Abdullah Tahiri
2017-04-25 01:21:37 +02:00
committed by wmayer
parent 7150e9ab23
commit a2f1a4ff18

View File

@@ -137,8 +137,8 @@ App::DocumentObjectExecReturn *AttachExtension::extensionExecute()
if(this->isTouched_Mapping()) {
try{
positionBySupport();
} catch (Base::Exception &e) {
return new App::DocumentObjectExecReturn(e.what());
/*} catch (Base::Exception &e) {
return new App::DocumentObjectExecReturn(e.what());*/
} catch (Standard_Failure &e){
return new App::DocumentObjectExecReturn(e.GetMessageString());
}