improve debug and error controlling on explorer
This commit is contained in:
parent
f38b6c482f
commit
6a608f08ed
@ -60,7 +60,7 @@ class Activitypub_explorer
|
|||||||
$actor_profile = $discovery->lookup($url);
|
$actor_profile = $discovery->lookup($url);
|
||||||
return $actor_profile[0];
|
return $actor_profile[0];
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
throw new Exception('Invalid Actor: '.$e->getMessage());
|
throw new Exception('Invalid Actor: '.$url);
|
||||||
}
|
}
|
||||||
unset($discovery);
|
unset($discovery);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user