HOR-4435
This commit is contained in:
committed by
Paula Quispe
parent
d263c5a7ca
commit
ca3d718578
@@ -337,9 +337,7 @@ class WebApplication
|
||||
'path' => $target['tmp_name']
|
||||
]);
|
||||
if ($validator->fails()) {
|
||||
if ($validator->getStatus() === 429) {
|
||||
throw new RestException($validator->getStatus());
|
||||
}
|
||||
throw new RestException($validator->getStatus(), $validator->getMessage());
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user