feat: update error codes in the avatars API
This commit is contained in:
parent
c7e1050ce5
commit
534d541b1f
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ App::get('/v1/avatars/favicon')
|
|||
}
|
||||
|
||||
if (!\extension_loaded('imagick')) {
|
||||
throw new Exception('Imagick extension is missing', 500);
|
||||
throw new Exception('Imagick extension is missing', 500, Exception::IMAGIC_EXTENSION_MISSING);
|
||||
}
|
||||
|
||||
$curl = \curl_init();
|
||||
|
|
Loading…
Reference in a new issue