# HG changeset patch # User Matthew Wild # Date 1264958135 0 # Node ID c3afa1e02e8f8a932edecfc7f0f4c8d5a3e8ce07 # Parent 8dda55217e833a2422f4a1dcf1609d0bddb969dd prosody: Show friendly error when no config present for legacy SSL ports diff -r 8dda55217e83 -r c3afa1e02e8f prosody --- a/prosody Sun Jan 31 17:14:52 2010 +0000 +++ b/prosody Sun Jan 31 17:15:35 2010 +0000 @@ -228,6 +228,9 @@ end elseif err:match("permission") then friendly_message = "Prosody does not have sufficient privileges to use this port"; + elseif err == "no ssl context" then + friendly_message = "there is no 'ssl' config under Host \"*\" which is " + .."require for legacy SSL ports"; end log("error", "Failed to open server port %d, %s", port, friendly_message); end