Show status, not details. PID is not in the syncrun table anymore.
authorGreg Sabino Mullane <greg@endpoint.com>
Mon, 7 Jan 2013 05:03:14 +0000 (00:03 -0500)
committerGreg Sabino Mullane <greg@endpoint.com>
Mon, 7 Jan 2013 05:03:14 +0000 (00:03 -0500)
bucardo

diff --git a/bucardo b/bucardo
index adfaf84ff8f2e94f587bd422f50864e29d40e507..17876a14979dcf9cad3b2e2cb7532c3f764b2c4e 100755 (executable)
--- a/bucardo
+++ b/bucardo
@@ -4673,12 +4673,12 @@ ORDER BY started DESC LIMIT 1
     }
 
     my $result = $sth->fetchall_arrayref({})->[0];
-    my $whydie = $result->{details} || '';
+    my $whydie = $result->{status} || '';
     $whydie =~ s/\\n */\n    /g;
     $whydie =~ s/: ERROR:/:\n    ERROR:/;
     $whydie =~ s/ (at .+ line \d+\.)/\n      $1/g;
     $whydie =~ s/\t/<tab>/g;
-    my $message = sprintf "  PID %s\nStarted: %s\n  Ended: %s\n    %s",
+    my $message = sprintf "  Started: %s\n  Ended: %s\n    %s",
         $result->{pid} || '?',
         $result->{started} || '?',
         $result->{ended} || '?',