Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[livejournal] r23491: LJSUP-14677: Provide additional info in ...

Committer: amyshkin
LJSUP-14677: Provide additional info in warnings
U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2012-12-21 08:00:55 UTC (rev 23490)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2012-12-21 11:09:12 UTC (rev 23491)
@@ -34,6 +34,7 @@
 use LJ::S2;
 use LJ::TimeUtil;
 use LJ::URI;
+use LJ::Handlers;
 
 BEGIN {
     $LJ::OPTMOD_ZLIB = eval { require Compress::Zlib; 1;};
@@ -44,6 +45,7 @@
     if (%LJ::FOTOBILDER_IP) {
         use Apache::LiveJournal::Interface::FotoBilder;
     }
+    $SIG{__WARN__} = sub { LJ::Handlers::warn_handler(@_) };
 }
 
 my %RQ;       # per-request data

Tags: amyshkin, livejournal, pm, zilogic
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments