mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
C#: Add alert suppression comments. Rename e to ex in catch clauses for consistency.
This commit is contained in:
@@ -190,7 +190,7 @@ namespace Semmle.Extraction
|
||||
FileUtils.TryDelete(tmpFile);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch (Exception ex) // lgtm[cs/catch-of-all-exceptions]
|
||||
{
|
||||
Logger.Log(Severity.Error, "Failed to move the trap file from {0} to {1} because {2}", tmpFile, TrapFile, ex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user