Currently extra folder or incorrect XML info in CustomDiagnostics might cause an exception #128
Labels
postpone
might be a bug or enhancement that will take a larger amount of engineering effort with lower ROI.
question/issue
problem that really isn't a bug or hasn't found to be a bug, yet
Not that many people would add stuff here on their own, but for devs working on adding stuff, it can be a pain. In DiagFactory.cs we run GetCustomDiagnostics. In there we are just getting a directory list of what folders are in "\CustomDiagnostics". Then in each folder we are looking for a \CustomDiag.xml. We compare these with what we find in CustomDiagnostic_Template.xml. There is not a TRY/CATCH in this whole DiagFactory.cs. Same with DiagTreeMgr where we call PopulateTree.
So any issues we hit falls all the way out to the frmDiagManager_Load function which just prints the exception without any context. This causes all the checkbox to not be added. It has been hard to troubleshoot not knowing where the failure occurred. Better try catch would help
The text was updated successfully, but these errors were encountered: