removing confusing (non)error message
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 8 Feb 2006 22:04:17 +0000 (22:04 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 8 Feb 2006 22:04:17 +0000 (22:04 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3015 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/storage.pm

index a066969..8b19a51 100644 (file)
 
                my $success = 1;
                try {
-                       $log->debug("Committing trasaction with Open-ILS XACT-ID [$xact_id]", INFO);
+                       $log->debug("Committing transaction with Open-ILS XACT-ID [$xact_id]", INFO) if ($xact_id);
                        my $dbh = OpenILS::Application::Storage::CDBI->db_Main;
                        $dbh->commit;
 
                } catch Error with {
                        my $e = shift;
-                       $log->debug("Failed to commit trasaction with Open-ILS XACT-ID [$xact_id]: ".$e, INFO);
+                       $log->debug("Failed to commit transaction with Open-ILS XACT-ID [$xact_id]: ".$e, INFO);
                        $success = 0;
                };