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 df1e2642d0
commit c3eb3e7fc7

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());
}