Author: spadkins
Date: Mon Jun 5 16:20:05 2006
New Revision: 6474
Modified:
p5ee/trunk/App-Context/lib/App/Context/ClusterNode.pm
Log:
guard against error messages with embedded newlines
Modified: p5ee/trunk/App-Context/lib/App/Context/ClusterNode.pm
==============================================================================
--- p5ee/trunk/App-Context/lib/App/Context/ClusterNode.pm (original)
+++ p5ee/trunk/App-Context/lib/App/Context/ClusterNode.pm Mon Jun 5 16:20:05 2006
@@ -170,8 +170,8 @@
};
if ($@) {
$results = $@;
- $results =~ s/\s*\n\s*/ /gs; # we can't have multi-line result text
}
+ $results =~ s/\s*\n\s*/ /gs; # we can't have multi-line result text
my $results_txt = $self->{rpc_serializer}->serialize($results);
my $msg = "ASYNC-EVENT-RESULTS:$event->{event_token}:$results_txt";
$self->send_message($self->{controller_host}, $self->{controller_port}, $msg);
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.