Changeset

7277:7be7108cb6ed

mod_s2s: Include name of remote server when it's missing the stream ID (thanks Ge0rG)
author Kim Alvefur <zash@zash.se>
date Mon, 14 Mar 2016 13:27:02 +0100
parents 7276:30dfaf36ea6d
children 7278:1891854b25ac 7279:051279755cad
files plugins/mod_s2s/mod_s2s.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua	Sun Mar 13 18:35:00 2016 +0100
+++ b/plugins/mod_s2s/mod_s2s.lua	Mon Mar 14 13:27:02 2016 +0100
@@ -363,7 +363,7 @@
 	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