Nicer error display

This commit is contained in:
Pablo Ferreiro
2022-09-03 14:01:03 +02:00
parent 96fb2fd428
commit 38557fafa6
15 changed files with 53 additions and 32 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ class RedirectController {
case 'url':
$endpoint = self::to_endpoint($term);
if (!$endpoint) {
echo 'Invalid or unknown TikTok URL format';
ErrorHandler::showText(400, 'Invalid TikTok URL');
return;
}
break;