Skip to content

Commit

Permalink
Catch InvalidOperationException too
Browse files Browse the repository at this point in the history
(Whoops, this is also required to fix #172)
  • Loading branch information
Lauriethefish committed Aug 19, 2024
1 parent af52dd0 commit c9bbf8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QuestPatcher.Core/ProcessUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public async Task<ProcessOutput> InvokeAndCaptureOutput(string fileName, string
{
fullPath = process.MainModule?.FileName;
}
catch (Win32Exception ex)
catch (Exception ex)
{
Log.Warning(ex, "Failed to get full path to executing ADB client. Is the AntiVirus preventing this?");
}
Expand Down

0 comments on commit c9bbf8d

Please sign in to comment.