r43743 - /scripts/KGB/client/KGB_sendcommit

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat Sep 5 18:14:19 UTC 2009


Author: dmn
Date: Sat Sep  5 18:14:14 2009
New Revision: 43743

URL: http://svn.debian.org/wsvn/?sc=1&rev=43743
Log:
warn about SOAP fault details only if details are available

Modified:
    scripts/KGB/client/KGB_sendcommit

Modified: scripts/KGB/client/KGB_sendcommit
URL: http://svn.debian.org/wsvn/scripts/KGB/client/KGB_sendcommit?rev=43743&op=diff
==============================================================================
--- scripts/KGB/client/KGB_sendcommit (original)
+++ scripts/KGB/client/KGB_sendcommit Sat Sep  5 18:14:14 2009
@@ -148,7 +148,7 @@
     if( $res->fault ) {
         warn 'SOAP FAULT while talking to '.$srv->{uri}."\n";
         warn 'FAULT MESSAGE: ', $res->fault->{faultstring}, "\n";
-        warn 'FAULT DETAILS: ', $res->fault->{detail}, "\n";
+        warn 'FAULT DETAILS: ', $res->fault->{detail}, "\n" if $res->fault->{detail};
         $failure = 1;
     }
 




More information about the Pkg-perl-cvs-commits mailing list