Use System.err for error messages

This commit is contained in:
AsamK 2015-09-15 13:24:27 +02:00
parent 2796fff56d
commit 76a1e8ec2f
2 changed files with 26 additions and 26 deletions

View file

@ -122,7 +122,7 @@ class Manager {
writer.flush();
writer.close();
} catch (Exception e) {
System.out.println("Saving file error: " + e.getMessage());
System.err.println("Saving file error: " + e.getMessage());
}
}
@ -259,7 +259,7 @@ class Manager {
if (returnOnTimeout)
return;
} catch (InvalidVersionException e) {
System.out.println("Ignoring error: " + e.getMessage());
System.err.println("Ignoring error: " + e.getMessage());
}
save();
}