]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Xrd.php
Added feedback
[friendica.git] / src / Module / Xrd.php
index f7e20c9dbd539146e9f999da44974407c429fab8..b6bd8759422dcfca364dac2190437cbf2e6c3adf 100644 (file)
@@ -58,7 +58,7 @@ class Xrd extends BaseModule
                $user = User::getByNickname($name);
 
                if (empty($user)) {
-                       System::httpExit(404);
+                       throw new \Friendica\Network\HTTPException\NotFoundException();
                }
 
                $profileURL = $app->getBaseURL() . '/profile/' . $user['nickname'];