diff --git a/lib/userlist/push/client.rb b/lib/userlist/push/client.rb
index <HASH>..<HASH> 100644
--- a/lib/userlist/push/client.rb
+++ b/lib/userlist/push/client.rb
@@ -40,7 +40,7 @@ module Userlist
         request['Content-Type'] = 'application/json; charset=UTF-8'
         request.body = JSON.dump(payload)
 
-        logger.debug "Sending #{request.method} to #{endpoint}#{request.path} with body #{request.body}"
+        logger.debug "Sending #{request.method} to #{URI.join(endpoint, request.path)} with body #{request.body}"
 
         http.request(request)
       end
Improves debug output by properly joining URI segments