chore: better error msg

This commit is contained in:
loks0n committed 2023-11-06 14:49:33 +00:00
1 parent 4440859c05
commit 75669b9b2e
1 file changed
+1 -1
+1 -1
View File
@@ -90,7 +90,7 @@ App::post('/v1/proxy/rules')
try {
$domain = new Domain($domain);
} catch (\Exception) {
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'Invalid domain. Domain may not start with http:// or https://.');
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'Domain may not start with http:// or https://.');
}
$ruleId = ID::unique();