diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-09-21 02:58:35 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-09-22 20:18:04 +0200 |
commit | efb9970178d209c4c1b7c3dfa915821f34489a48 (patch) | |
tree | 1717f3b0318fb8f0aa54fda4af057906ce68e61e /src/timeline/CommunitiesModel.cpp | |
parent | Translated using Weblate (Russian) (diff) | |
download | nheko-efb9970178d209c4c1b7c3dfa915821f34489a48.tar.xz |
Switch to C++20
Diffstat (limited to 'src/timeline/CommunitiesModel.cpp')
-rw-r--r-- | src/timeline/CommunitiesModel.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/timeline/CommunitiesModel.cpp b/src/timeline/CommunitiesModel.cpp index a0c73f84..1b96d2d6 100644 --- a/src/timeline/CommunitiesModel.cpp +++ b/src/timeline/CommunitiesModel.cpp @@ -852,7 +852,8 @@ CommunitiesModel::updateSpaceStatus(QString space, .arg(QString::fromStdString(err->matrix_error.error))); nhlog::net()->error("Failed to update child {} of {}: {}", room.toStdString(), - space.toStdString()); + space.toStdString(), + *err); } }); } @@ -869,7 +870,8 @@ CommunitiesModel::updateSpaceStatus(QString space, .arg(QString::fromStdString(err->matrix_error.error))); nhlog::net()->error("Failed to delete child {} of {}: {}", room.toStdString(), - space.toStdString()); + space.toStdString(), + *err); } }); } @@ -891,7 +893,8 @@ CommunitiesModel::updateSpaceStatus(QString space, .arg(QString::fromStdString(err->matrix_error.error))); nhlog::net()->error("Failed to update parent {} of {}: {}", space.toStdString(), - room.toStdString()); + room.toStdString(), + *err); } }); } @@ -908,7 +911,8 @@ CommunitiesModel::updateSpaceStatus(QString space, .arg(QString::fromStdString(err->matrix_error.error))); nhlog::net()->error("Failed to delete parent {} of {}: {}", space.toStdString(), - room.toStdString()); + room.toStdString(), + *err); } }); } |