]> git.wh0rd.org - tt-rss.git/blobdiff - db.php
catchup in category view mode jumps to the next unread category
[tt-rss.git] / db.php
diff --git a/db.php b/db.php
index 6d998bd6f907bd108c1f78b05b0470de9af39689..d8187fc3bcf65808bfe674d383fda7b19aec27d4 100644 (file)
--- a/db.php
+++ b/db.php
@@ -61,7 +61,7 @@ function db_query($link, $query, $die_on_error = true) {
                if (!$result) {
                        $query = htmlspecialchars($query); // just in case
                        if ($die_on_error) {
-                               die("Query <i>$query</i> failed: " . pg_last_error($link));                     
+                               die("Query <i>$query</i> failed [$result]: " . pg_last_error($link));                   
                        }
                }
                return $result;