summary refs log tree commit diff
path: root/src/ui/UserProfile.cpp
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2021-03-04 18:56:25 -0500
committerJoseph Donofry <joedonofry@gmail.com>2021-03-04 18:56:25 -0500
commit87bf761dc2a44a49825ea21ffb293785e5272b5d (patch)
treed4f2d9e1c2fa9f86e89b00b4942b6d66fbc47226 /src/ui/UserProfile.cpp
parentTranslated using Weblate (French) (diff)
downloadnheko-87bf761dc2a44a49825ea21ffb293785e5272b5d.tar.xz
Properly format matrix errors in spdlog statements
Diffstat (limited to 'src/ui/UserProfile.cpp')
-rw-r--r--src/ui/UserProfile.cpp4
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; }