chiark / gitweb /
Better error messages from commod-update-receiver
[ypp-sc-tools.db-test.git] / yarrg / commod-email-processor
index 1cff462cda1c67d451ee8064b9ac952e8e096cae..8acf4c105d118c38d99f49425eea89806c0a0f76 100755 (executable)
@@ -195,7 +195,7 @@ sub main () {
     pipethrough_run_finish($pt, 'gunzip <$deduped_tsv.gz');
 
 #    print "\n";
-    $dbh->commit();
+    db_chkcommit();
 
     # select * from ((buy natural join commods) natural join stalls) natural join islands;
     # select * from ((sell natural join commods) natural join stalls) natural join islands;