aboutsummaryrefslogtreecommitdiff
path: root/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'connection.cpp')
-rw-r--r--connection.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/connection.cpp b/connection.cpp
index 935546b1..68f23042 100644
--- a/connection.cpp
+++ b/connection.cpp
@@ -302,7 +302,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;
}