[ljcom] r11270: LJSV-1959: 'fail' is changed to error te...
Committer: sbelyaev
LJSV-1959: 'fail' is changed to error textU 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");
