Skip to content

Commit

Permalink
only warn when DEBUG is on (the default value, ':5000' is passed rega…
Browse files Browse the repository at this point in the history
…rdless, so it would be annoying for most people)
  • Loading branch information
lestrrat committed Feb 16, 2010
1 parent 3b9bf37 commit 1486828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Twiggy/Server/SS.pm
Expand Up @@ -10,7 +10,7 @@ use Server::Starter qw(server_ports);
sub register_service {
my ($self, $app) = @_;

if ($self->{listen}) {
if (Twiggy::Server::DEBUG() && $self->{listen}) {
warn "'listen' option is currently ignored when used in conjunction with Server::Starter (start_server script)";
}

Expand Down

0 comments on commit 1486828

Please sign in to comment.