1
0
Fork 0
mirror of synced 2024-10-02 10:16:27 +13:00

chore: use base Exception

This commit is contained in:
loks0n 2023-11-06 14:45:56 +00:00
parent 8b24c44fb9
commit 61c5f371b7

View file

@ -89,7 +89,7 @@ App::post('/v1/proxy/rules')
try {
$domain = new Domain($domain);
} catch (Exception) {
} catch (\Exception) {
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'Invalid domain. Domain may not start with http:// or https://.');
}