aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connection.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/connection.cpp b/connection.cpp
index 2bff6179..b6ede0af 100644
--- a/connection.cpp
+++ b/connection.cpp
@@ -303,7 +303,8 @@ inline auto splitMediaId(const QString& mediaId)
{
auto idParts = mediaId.split('/');
Q_ASSERT_X(idParts.size() == 2, __FUNCTION__,
- "mediaId should have a form 'serverName/localMediaId' (without apostrophes)");
+ ("mediaId:" + mediaId +
+ "doesn't look like \"serverName/localMediaId\"").toLatin1());
return idParts;
}