madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[ljcom] r11270: LJSV-1959: 'fail' is changed to error te...

Committer: sbelyaev
LJSV-1959: 'fail' is changed to error text
U   trunk/cgi-bin/LJ/Worker/Repost/EntryToFacebook.pm
Modified: trunk/cgi-bin/LJ/Worker/Repost/EntryToFacebook.pm
===================================================================
--- trunk/cgi-bin/LJ/Worker/Repost/EntryToFacebook.pm	2011-12-19 09:18:21 UTC (rev 11269)
+++ trunk/cgi-bin/LJ/Worker/Repost/EntryToFacebook.pm	2011-12-19 09:29:19 UTC (rev 11270)
@@ -121,7 +121,7 @@
         __log_statushistory( $poster, $error_text );
         __send_error( $poster, $error_text );
         __destroy_link($poster);
-        $entry->set_prop('crosspost_fb' => "fail");
+        $entry->set_prop('crosspost_fb' => "error($type): $error_text" );
     } else {
         my ($uid, $postid) = split(/_/, $decoded->{'id'} );
         $entry->set_prop('crosspost_fb' => "http://www.facebook.com/$uid/posts/$postid");

Tags: ljcom, madeon, pm, sbelyaev
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