Skip to content

Commit

Permalink
Merge pull request #403 from Signum21/master
Browse files Browse the repository at this point in the history
Better error handling in FileAnalysis
  • Loading branch information
carlospolop authored Jan 24, 2024
2 parents 46612a2 + 340256b commit 12ff600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winPEAS/winPEASexe/winPEAS/Checks/FileAnalysis.cs
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ private static void PrintYAMLRegexesSearchFiles()
foundRegexes[regex_obj.name][regex.name] = fileResults;
}
}
catch (System.IO.IOException)
catch (Exception ex)
{
// Cannot read the file
}
Expand Down

0 comments on commit 12ff600

Please sign in to comment.