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
0638a1b507
commit
0bdc7bb370
@@ -281,7 +281,7 @@ void SketcherSettingsDisplay::onBtnTVApplyClicked(bool)
|
||||
this->ui->checkBoxTVForceOrtho->isChecked() ? "True": "False",
|
||||
this->ui->checkBoxTVSectionView->isChecked() ? "True": "False");
|
||||
} catch (Base::PyException &e){
|
||||
Base::Console().Error("SketcherSettings::onBtnTVApplyClicked:\n");
|
||||
Base::Console().DeveloperError("SketcherSettings", "error in onBtnTVApplyClicked:\n");
|
||||
e.ReportException();
|
||||
errMsg = QString::fromLatin1(e.what());
|
||||
} catch (...) {
|
||||
|
||||
Reference in New Issue
Block a user