Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Commit

Permalink
Use error writer
Browse files Browse the repository at this point in the history
  • Loading branch information
burdoto committed Jul 3, 2020
1 parent bf1d8ff commit d6f5350
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SymBLink/FileHandlers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public Ts4FileService(App app) {
_app = app;

if (!_app.Settings.Valid)
Console.WriteLine("[SymBLink:TS4] Settings are invalid! Please fix them using the Configurator.");
Console.Error.WriteLine("[SymBLink:TS4] Settings are invalid! Please fix them using the Configurator.");

_watcher = new FileSystemWatcher(_app.Settings.DownloadDir) {
IncludeSubdirectories = true,
Expand Down
4 changes: 2 additions & 2 deletions SymBLink/Structs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ public bool Valid
var sims = SimsDir != null && Directory.Exists(SimsDir);

if (!download)
Console.WriteLine("[SymBLink:Conf] Download directory invalid: " + DownloadDir);
Console.Error.WriteLine("[SymBLink:Conf] Download directory invalid: " + DownloadDir);
if (!sims)
Console.WriteLine("[SymBLink:Conf] TS4 directory invalid: " + SimsDir);
Console.Error.WriteLine("[SymBLink:Conf] TS4 directory invalid: " + SimsDir);

return download && sims;
}
Expand Down

0 comments on commit d6f5350

Please sign in to comment.