Add some more error logging
This commit is contained in:
parent
1d4b5e40a3
commit
b84bc7895e
3 changed files with 18 additions and 26 deletions
|
|
@ -1381,9 +1381,7 @@ ChatPage::decryptDownloadedSecrets(mtx::secret_storage::AesHmacSha2KeyDescriptio
|
|||
http::client()->keys_signatures_upload(
|
||||
req, [](const mtx::responses::KeySignaturesUpload &res, mtx::http::RequestErr err) {
|
||||
if (err) {
|
||||
nhlog::net()->error("failed to upload signatures: {},{}",
|
||||
mtx::errors::to_string(err->matrix_error.errcode),
|
||||
static_cast<int>(err->status_code));
|
||||
nhlog::net()->error("failed to upload signatures: {}", *err);
|
||||
}
|
||||
|
||||
for (const auto &[user_id, tmp] : res.errors)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue