Package: spamassassin
Version: 3.0.4-2
Severity: minor
Tags: patch

The Mail::SpamAssassin::Reporter module died a couple of times
recently for me with interesting error messages.  Unfortunately, I
couldn't trace them because the message was:

razor2 report failed: No such file or directory Died at 
/usr/share/perl5/Mail/SpamAssassin/Reporter.pm line 148, <GEN2> line 1.

But line 148 is the adie routine, which gives no indication of where
the call occurred.

So line 148 could be replaced by:

   my ($package, $filename, $line) = caller;
   die "$msg, stopped at $filename line $line\n";

   Julian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to