1
0
Fork 0
mirror of synced 2024-09-29 08:51:28 +13:00

feat: update error codes in the avatars API

This commit is contained in:
Christy Jacob 2022-02-06 18:17:52 +04:00
parent c7e1050ce5
commit 534d541b1f

View file

@ -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();