Codeusa / SteamCleaner

:us: A PC utility for restoring disk space from various game clients like Origin, Steam, Uplay, Battle.net, GoG and Nexon :us:
https://andrew.im/
GNU General Public License v3.0
1.97k stars 97 forks source link

Corrupt/Unreadable Directory Unhandled Exception #73

Closed Spiker985 closed 1 year ago

Spiker985 commented 5 years ago

There are some directories that are corrupt/unreadable in my Steam environment due to me moving some files around en masse.

However, with that Steam Cleaner doesn't have a valid try catch around looking through the directory and crashes on open.

I already replaced all the \r\n, and \n with newline characters - so the log should be a bit cleaner.

UnhandledException_4-2-2019.json

Specifically, it looks like the code in the AnalyzerService at function CheckNesting is the culprit.