librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1523] eception


From: Clint Adams
Subject: [Librefm-commits] [1523] eception
Date: Tue, 12 May 2009 03:45:36 +0000

Revision: 1523
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1523
Author:   clint
Date:     2009-05-12 03:45:35 +0000 (Tue, 12 May 2009)
Log Message:
-----------
eception

Modified Paths:
--------------
    trunk/gnukebox/fix-album-art.php

Modified: trunk/gnukebox/fix-album-art.php
===================================================================
--- trunk/gnukebox/fix-album-art.php    2009-05-12 03:17:32 UTC (rev 1522)
+++ trunk/gnukebox/fix-album-art.php    2009-05-12 03:45:35 UTC (rev 1523)
@@ -89,12 +89,12 @@
                        . ($license) . " WHERE artist_name = "
                         . ($artist) . " AND name = "
                                      . ($album));
-
+               try {
                  $res = $adodb->Execute($sql);
-
-               if(!$res) {
-                 die("FAILED query was :" . $sql);
                }
+               catch (exception $e) {
+                 die($e->getMessage() . ", FAILED query was :" . $sql);
+               }
 
        return $image;
        }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]