mod_s2s: Include name of remote server when it's missing the stream ID (thanks Ge0rG)
authorKim Alvefur <zash@zash.se>
Mon, 14 Mar 2016 12:27:02 +0000 (13:27 +0100)
committerKim Alvefur <zash@zash.se>
Mon, 14 Mar 2016 12:27:02 +0000 (13:27 +0100)
plugins/mod_s2s/mod_s2s.lua

index 3e80c77b1a53bcb1ed3f2136b2dc839ccb58f8d1..16320ad169afd651a081daaa4d05f23556aead9a 100644 (file)
@@ -363,7 +363,7 @@ function stream_callbacks.streamopened(session, attr)
        elseif session.direction == "outgoing" then
                session.notopen = nil;
                if not attr.id then
-                       log("error", "Stream response did not give us a stream id!");
+                       log("error", "Stream response from %s did not give us a stream id!", session.to_host);
                        session:close({ condition = "undefined-condition", text = "Missing stream ID" });
                        return;
                end