[Libreoffice-commits] online.git: wsd/ProofKey.cpp
Mike Kaganski (via logerrit)
logerrit at kemper.freedesktop.org
Thu Feb 6 11:37:14 UTC 2020
wsd/ProofKey.cpp | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
New commits:
commit bfb16d8831c55953b93ed54127f5aee2a2de46eb
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Thu Feb 6 12:44:05 2020 +0300
Commit: Andras Timar <andras.timar at collabora.com>
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 <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
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);
}
More information about the Libreoffice-commits
mailing list