librefm-commits
[Top][All Lists]
Advanced

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

[Librefm-commits] [1502] move catch to the right place


From: Clint Adams
Subject: [Librefm-commits] [1502] move catch to the right place
Date: Tue, 12 May 2009 00:26:47 +0000

Revision: 1502
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1502
Author:   clint
Date:     2009-05-12 00:26:47 +0000 (Tue, 12 May 2009)
Log Message:
-----------
move catch to the right place

Modified Paths:
--------------
    trunk/gnukebox/display.php

Modified: trunk/gnukebox/display.php
===================================================================
--- trunk/gnukebox/display.php  2009-05-12 00:25:48 UTC (rev 1501)
+++ trunk/gnukebox/display.php  2009-05-12 00:26:47 UTC (rev 1502)
@@ -87,6 +87,10 @@
                        echo "<h2>Last 10 tracks received</h2>";
                }
 }
+                       catch (exception $e)
+                       {
+                               die($e->getMessage());
+                       }
 
 ?>
 
@@ -94,10 +98,6 @@
                        
<tr><th>User</th><th>Artist</th><th>Track</th><th>Time</th></tr>
 
 <?php
-                       catch (exception $e)
-                       {
-                               die($e->getMessage());
-                       }
 
                        $i = 0;
                        foreach($res as &$row){





reply via email to

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