mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Add logging to attribute decoding failures
This commit is contained in:
@@ -45,7 +45,8 @@ namespace Semmle.Extraction.CIL.Entities
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
// Attribute decoding is only partial at this stage.
|
||||
Cx.Cx.Extractor.Logger.Log(Util.Logging.Severity.Info,
|
||||
$"Attribute decoding is partial. Decoding attribute {constructor.DeclaringType.GetQualifiedName()} failed on {@object}.");
|
||||
yield break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user