1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp
index 77f6ced5..311c1314 100644
--- a/src/ui/UserProfile.cpp
+++ b/src/ui/UserProfile.cpp
@@ -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;
}
|