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

Commit 5a221688 authored by P. J. McDermott's avatar P. J. McDermott

Catch User::__construct() Exceptions in users_dump_rdf.php script.

parent 94efc0f6
......@@ -15,7 +15,12 @@ if (! $username)
die("Must provide a username.\n");
$user = new User($username);
try {
$user = new User($username);
} catch (Exception $e) {
die("No such user.\n");
$scrobbles = $user->getScrobbles(10000);
print "<rdf:RDF
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