Index: trunk/manage-us3-pipe.php
===================================================================
--- trunk/manage-us3-pipe.php	(revision 1)
+++ trunk/manage-us3-pipe.php	(revision 3)
@@ -43,4 +43,5 @@
    global $user;
    global $passwd;
+   global $self;
 
    $list                   = explode( ": ", $msg );
@@ -56,5 +57,5 @@
    if ( ! $resource )
    {
-      write_log( "$self process(): Could not connect to DB" );
+      write_log( "$self process(): Could not connect to MySQL - " . mysql_error() );
       write_log( "$self process(): original msg - $msg" );
       return;
