diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-04-19 22:12:12 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-05-03 16:31:15 -0100 |
commit | 9038dc4fb44b6404da5e2f7e7d303c81c186e669 (patch) | |
tree | 32d5d67b7123f33f4449a3dd833e510d69015a62 /lib/Service | |
parent | 3352e75a0757a358238253c59542cf905ebfb040 (diff) |
small fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/CurlService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/CurlService.php b/lib/Service/CurlService.php index 376283e8..514a5a11 100644 --- a/lib/Service/CurlService.php +++ b/lib/Service/CurlService.php @@ -103,7 +103,7 @@ class CurlService { // we consider an account is like an email if (!filter_var($account, FILTER_VALIDATE_EMAIL)) { - throw new InvalidResourceException(); + throw new InvalidResourceException('account format is not valid'); } list($username, $host) = explode('@', $account); |