Skip to content

Commit 616245a

Browse files
committed
Report more info about the error
1 parent 2dc6127 commit 616245a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/resource_managers/Profile.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,8 +775,9 @@ Profile::dispatchUploads(qml_components::ScoreSyncOperation* op,
775775
connect(reply, &QNetworkReply::finished, this, [reply, op, guid]() {
776776
reply->deleteLater();
777777
if (reply->error() != QNetworkReply::NoError) {
778-
spdlog::error("Score upload failed for {}: {}",
778+
spdlog::error("Score upload failed for {}: {} {}",
779779
guid.toStdString(),
780+
magic_enum::enum_name(reply->error()),
780781
reply->errorString().toStdString());
781782
op->reportError(QStringLiteral("Upload failed for %1: %2")
782783
.arg(guid, reply->errorString()));

0 commit comments

Comments
 (0)