wsd/ProofKey.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
New commits: commit bfb16d8831c55953b93ed54127f5aee2a2de46eb Author: Mike Kaganski <[email protected]> AuthorDate: Thu Feb 6 12:44:05 2020 +0300 Commit: Andras Timar <[email protected]> CommitDate: Thu Feb 6 12:36:55 2020 +0100 Turn some errors to warnings, and drop unneeded stderr output Change-Id: I63de580480f983e8179546fae6217641fa370135 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88088 Reviewed-by: Andras Timar <[email protected]> Tested-by: Andras Timar <[email protected]> diff --git a/wsd/ProofKey.cpp b/wsd/ProofKey.cpp index 3fe2af455..32a4a05e0 100644 --- a/wsd/ProofKey.cpp +++ b/wsd/ProofKey.cpp @@ -123,15 +123,15 @@ Proof::Proof() } catch (const Poco::Exception& e) { - LOG_ERR("Could not open proof RSA key: " << e.displayText()); + LOG_WRN("Could not open proof RSA key: " << e.displayText()); } catch (const std::exception& e) { - LOG_ERR("Could not open proof RSA key: " << e.what()); + LOG_WRN("Could not open proof RSA key: " << e.what()); } catch (...) { - LOG_ERR("Could not open proof RSA key: unknown exception"); + LOG_WRN("Could not open proof RSA key: unknown exception"); } return nullptr; }()) @@ -157,7 +157,6 @@ std::string Proof::ProofKeyPath() "\nNo proof-key will be present in discovery." "\nGenerate an RSA key using this command line:" "\n ssh-keygen -t rsa -N \"\" -f \"" + keyPath + "\""; - fprintf(stderr, "%s\n", msg.c_str()); LOG_WRN(msg); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
