Properly format matrix errors in spdlog statements
This commit is contained in:
parent
387ba1a1e6
commit
87bf761dc2
3 changed files with 7 additions and 7 deletions
|
|
@ -159,7 +159,7 @@ UserProfile::fetchDeviceList(const QString &userID)
|
|||
mtx::http::RequestErr err) {
|
||||
if (err) {
|
||||
nhlog::net()->warn("failed to query device keys: {},{}",
|
||||
err->matrix_error.errcode,
|
||||
mtx::errors::to_string(err->matrix_error.errcode),
|
||||
static_cast<int>(err->status_code));
|
||||
return;
|
||||
}
|
||||
|
|
@ -174,7 +174,7 @@ UserProfile::fetchDeviceList(const QString &userID)
|
|||
|
||||
if (err) {
|
||||
nhlog::net()->warn("failed to query device keys: {},{}",
|
||||
err->matrix_error.errcode,
|
||||
mtx::errors::to_string(err->matrix_error.errcode),
|
||||
static_cast<int>(err->status_code));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue