mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-03 08:11:49 +02:00
Small update
This commit is contained in:
parent
32466ef60c
commit
db75518533
3 changed files with 3 additions and 3 deletions
|
@ -113,7 +113,7 @@ try {
|
|||
$response = curl_exec($curl);
|
||||
|
||||
if ($response === false) {
|
||||
$log->error('Curl error: ' . curl_error($curl) . curl_errno($curl));
|
||||
throw new Exception(curl_error($curl), curl_errno($curl));
|
||||
}
|
||||
|
||||
curl_close($curl);
|
||||
|
@ -123,4 +123,6 @@ try {
|
|||
}
|
||||
} catch (PDOException $e) {
|
||||
$log->error('Database error: ' . $e->getMessage());
|
||||
} catch (Throwable $e) {
|
||||
$log->error('Error: ' . $e->getMessage());
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue