stas 2004/06/27 14:26:45
Modified: . Changes
ModPerl-Registry/lib/ModPerl RegistryCooker.pm
Log:
Registry: remove the misleading prefix "$$: $class:" in the logged
error message, since not only registry errors will get logged if $@ is
set
Revision Changes Path
1.392 +4 -0 modperl-2.0/Changes
Index: Changes
===================================================================
RCS file: /home/cvs/modperl-2.0/Changes,v
retrieving revision 1.391
retrieving revision 1.392
diff -u -u -r1.391 -r1.392
--- Changes 27 Jun 2004 18:47:51 -0000 1.391
+++ Changes 27 Jun 2004 21:26:45 -0000 1.392
@@ -12,6 +12,10 @@
=item 1.99_15-dev
+Registry: remove the misleading prefix "$$: $class:" in the logged
+error message, since not only registry errors will get logged if $@ is
+set [Stas]
+
change t/REPORT to suggest to post bug reports to the modperl users
list, to be consistent with the documentation [Stas]
1.50 +1 -1 modperl-2.0/ModPerl-Registry/lib/ModPerl/RegistryCooker.pm
Index: RegistryCooker.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/ModPerl-Registry/lib/ModPerl/RegistryCooker.pm,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -u -r1.49 -r1.50
--- RegistryCooker.pm 2 Jun 2004 22:47:24 -0000 1.49
+++ RegistryCooker.pm 27 Jun 2004 21:26:45 -0000 1.50
@@ -767,7 +767,7 @@
my($self, $msg) = @_;
my $class = ref $self;
- $self->{REQ}->log_error("$$: $class: $msg");
+ $self->{REQ}->log_error($msg);
$self->{REQ}->notes->set('error-notes' => $msg);
[EMAIL PROTECTED]>{URI}} = $msg;
}