Log more info when secret storage download fails
This commit is contained in:
parent
6abfe8b44f
commit
3cc8c66af6
1 changed files with 6 additions and 1 deletions
|
|
@ -8,7 +8,10 @@
|
|||
#include <QRandomGenerator>
|
||||
#include <QTimer>
|
||||
|
||||
#include <fmt/ranges.h>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
#include <ranges>
|
||||
#include <variant>
|
||||
|
||||
#include <mtx/responses/common.hpp>
|
||||
|
|
@ -1698,7 +1701,9 @@ unlock_secrets(const std::string &key,
|
|||
key,
|
||||
[secrets](mtx::secret_storage::AesHmacSha2KeyDescription keyDesc, mtx::http::RequestErr err) {
|
||||
if (err) {
|
||||
nhlog::net()->error("Failed to download secret storage key");
|
||||
nhlog::net()->error("Failed to download secret storage key for {}: {}",
|
||||
fmt::join(std::views::keys(secrets), ", "),
|
||||
*err);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue