mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Improve file read exception logging
This commit is contained in:
@@ -62,7 +62,7 @@ namespace Semmle.Extraction.Entities
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Context.ExtractionError($"Couldn't read file: {originalPath}", null, null, exc.StackTrace);
|
||||
Context.ExtractionError($"Couldn't read file: {originalPath}. {exc.Message}", null, null, exc.StackTrace);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user