SA Bugzilla – Bug 4379
warns/dies appear to be hidden by new Logger code
Last modified: 2005-06-07 12:40:58 UTC
I note this in Logger.pm: sub log_message { my ($level, @message) = @_; # too many die and warn messages out there, don't log the # ones that we don't own if ($level eq "error" or $level eq "warn") { return unless $message[0] =~ /^\S+:/; } [....] } sure enough, if you add a line like warn "foo: help!" to an eval test, it appears -- but without the "foo:" prefix, it's invisible. I'm checking in code to turn this off; this bug should be used as a forum to discuss this, if it's required.
r179485.
hmm, I was assuming there'd be more controversy seeing as the change was in there in the first place ;) closing this bug.