mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 14:46:55 +01:00
The review agent repeatedly flagged bare calls to [TryFunction] procedures (e.g. the System Application "Xml Validation" Try* APIs) as defects, including claims that the failure is "silently swallowed". A bare call is an ordinary call: the error propagates as usual. - Add negative knowledge bare-tryfunction-call-propagates-errors.md. - Narrow ignored-tryfunction-return-disables-try-semantics to code that visibly expects the failure to be caught; the bad sample now shows that in code, and the good sample includes an intentional bare call as the clean control. - Qualify "TryFunction catches all errors" in the events article and the "must be consumed" wording in the performance article. - Error-handling leaf worklists both articles for bare [TryFunction] calls and requires the same evidence before flagging. - Add the three paired articles to the evaluation overrides. |
||
|---|---|---|
| .. | ||
| bare-tryfunction-call-propagates-errors.md | ||
| collect-validation-errors-with-errorbehavior.bad.al | ||
| collect-validation-errors-with-errorbehavior.good.al | ||
| collect-validation-errors-with-errorbehavior.md | ||
| defensive-vs-offensive-code-must-match-blast-radius.bad.al | ||
| defensive-vs-offensive-code-must-match-blast-radius.good.al | ||
| defensive-vs-offensive-code-must-match-blast-radius.md | ||
| errortype-internal-vs-client-for-diagnostics.bad.al | ||
| errortype-internal-vs-client-for-diagnostics.good.al | ||
| errortype-internal-vs-client-for-diagnostics.md | ||
| fielderror-default-message-logic.bad.al | ||
| fielderror-default-message-logic.good.al | ||
| fielderror-default-message-logic.md | ||
| fielderror-vs-testfield.bad.al | ||
| fielderror-vs-testfield.good.al | ||
| fielderror-vs-testfield.md | ||
| ignored-tryfunction-return-disables-try-semantics.bad.al | ||
| ignored-tryfunction-return-disables-try-semantics.good.al | ||
| ignored-tryfunction-return-disables-try-semantics.md | ||
| log-writes-must-survive-rollback.bad.al | ||
| log-writes-must-survive-rollback.good.al | ||
| log-writes-must-survive-rollback.md | ||
| page-boolean-triggers-default-to-true.md | ||
| prefer-errorinfo-for-actionable-errors.bad.al | ||
| prefer-errorinfo-for-actionable-errors.good.al | ||
| prefer-errorinfo-for-actionable-errors.md | ||
| unchecked-get-throws-when-record-not-found.md | ||