We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 5f0cc026 authored by jurgbohn's avatar jurgbohn

More verbose debug

parent 3c4745d0
......@@ -134,7 +134,7 @@ for($i = 0; $i < count($_POST['a']); $i++) {
$sql = "INSERT INTO Scrobbles (username, artist, album, track, time, mbid, source, rating, length) VALUES" . $rowvalues;
$res =& $mdb2->exec($sql);
if(PEAR::isError($res)) {
$msg = $res->getMessage();
$msg = $res->getMessage() . " - " . $res->getUserInfo();
reportError($msg, $sql);
die("FAILED " . $msg . "\nError has been reported to site administrators.\n");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment