mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-27 02:54:23 +01:00
Use System.err for error messages
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user