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
@@ -303,7 +303,7 @@ void EditModeCoinManager::ParameterObserver::subscribeToParameters()
|
||||
hGrpu->Attach(this);
|
||||
}
|
||||
catch(const Base::ValueError & e) { // ensure that if parameter strings are not well-formed, the exception is not propagated
|
||||
Base::Console().Error("EditModeCoinManager: Malformed parameter string: %s\n", e.what());
|
||||
Base::Console().DeveloperError("EditModeCoinManager", "Malformed parameter string: %s\n", e.what());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -323,7 +323,7 @@ void EditModeCoinManager::ParameterObserver::unsubscribeToParameters()
|
||||
hGrpu->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("EditModeCoinManager: Malformed parameter string: %s\n", e.what());
|
||||
Base::Console().DeveloperError("EditModeCoinManager", "Malformed parameter string: %s\n", e.what());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user