chore: use base Exception
This commit is contained in:
parent
8b24c44fb9
commit
61c5f371b7
1 changed files with 1 additions and 1 deletions
|
@ -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://.');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue