Skip to content

Commit

Permalink
quality
Browse files Browse the repository at this point in the history
  • Loading branch information
Bod9001 committed Dec 2, 2024
1 parent 4be8a44 commit 530c26e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions UnitystationLauncher/Services/TTSService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ private void ExtractTo(Stream progressStream, string LocalVersion, Download Down
ExtractTar(decompressedStream, LocalVersion);
break;
}
default:
throw new Exception("Unsupported OS");

Check warning on line 173 in UnitystationLauncher/Services/TTSService.cs

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

UnitystationLauncher/Services/TTSService.cs#L173

'System.Exception' should not be thrown by user code.
}

Download.Active = false;
Expand Down

0 comments on commit 530c26e

Please sign in to comment.