SketcherGui: Separate user and developer errors
=============================================== Revisiting all console calls: - Using the Notification Framework when the user needs to be notified - Turning them into DeveloperError/DeveloperWarnings when messages are intended only for developers
This commit is contained in:
committed by
abdullahtahiriyo
parent
cc091b2703
commit
fdd3525424
@@ -129,7 +129,7 @@ CurveConverter::CurveConverter()
|
||||
hGrp->Attach(this);
|
||||
}
|
||||
catch(const Base::ValueError & e) { // ensure that if parameter strings are not well-formed, the exception is not propagated
|
||||
Base::Console().Error("CurveConverter: Malformed parameter string: %s\n", e.what());
|
||||
Base::Console().DeveloperError("CurveConverter", "Malformed parameter string: %s\n", e.what());
|
||||
}
|
||||
|
||||
updateCurvedEdgeCountSegmentsParameter();
|
||||
@@ -142,7 +142,7 @@ CurveConverter::~CurveConverter()
|
||||
hGrp->Detach(this);
|
||||
}
|
||||
catch(const Base::ValueError & e) {// ensure that if parameter strings are not well-formed, the program is not terminated when calling the noexcept destructor.
|
||||
Base::Console().Error("CurveConverter: Malformed parameter string: %s\n", e.what());
|
||||
Base::Console().DeveloperError("CurveConverter", "Malformed parameter string: %s\n", e.what());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user