Part Design: Allow attachment error messages and error setting propagation
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user