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

Commit da7a5675 authored by elleo's avatar elleo

Add check to see if calls to remote gnu fm installs worked

parent f4c26049
......@@ -427,7 +427,14 @@ class RemoteUser extends User {
if ($this->lastfm) {
$wsurl .= '&api_key=' . $lastfm_key;
return simplexml_load_file($wsurl);
$response = @simplexml_load_file($wsurl);
if($response == false) {
throw new Exception("Unable to find remote user");
return $response;
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