Improve debug info
This commit is contained in:
committed by
Yorik van Havre
parent
2830f107ae
commit
47443dfd87
@@ -2527,7 +2527,7 @@ bool Document::_recomputeFeature(DocumentObject* Feat)
|
||||
returnCode->Which = Feat;
|
||||
_RecomputeLog.push_back(returnCode);
|
||||
#ifdef FC_DEBUG
|
||||
Base::Console().Error("%s\n",returnCode->Why.c_str());
|
||||
Base::Console().Error("Error in feature: %s\n%s\n",Feat->getNameInDocument(),returnCode->Why.c_str());
|
||||
#endif
|
||||
Feat->setError();
|
||||
return true;
|
||||
@@ -2576,7 +2576,7 @@ bool Document::_recomputeFeature(DocumentObject* Feat)
|
||||
returnCode->Which = Feat;
|
||||
_RecomputeLog.push_back(returnCode);
|
||||
#ifdef FC_DEBUG
|
||||
Base::Console().Error("%s\n",returnCode->Why.c_str());
|
||||
Base::Console().Error("Error in feature: %s\n%s\n",Feat->getNameInDocument(),returnCode->Why.c_str());
|
||||
#endif
|
||||
Feat->setError();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user