From 04ff57287dc44d0915b810ff5fbe901d8845eacd Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Wed, 6 Oct 2021 15:46:02 +0200 Subject: [PATCH] update error message --- serversession.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serversession.go b/serversession.go index ff3332ed..ccec7bf3 100644 --- a/serversession.go +++ b/serversession.go @@ -39,7 +39,7 @@ func setupGetTrackIDPathQuery( // URL doesn't contain trackID - it's track zero if i < 0 { if !strings.HasSuffix(pathAndQuery, "/") { - return 0, "", "", fmt.Errorf("path must end with a slash (%v)", pathAndQuery) + return 0, "", "", fmt.Errorf("path of a SETUP request must end with a slash (%v)", pathAndQuery) } pathAndQuery = pathAndQuery[:len(pathAndQuery)-1]