mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-01 08:33:22 +02:00
Small automation script improvements
This commit is contained in:
parent
eb6e0e02af
commit
20565df739
2 changed files with 10 additions and 2 deletions
|
@ -222,7 +222,7 @@ try {
|
|||
$stmt_contact = null;
|
||||
$dbh->commit();
|
||||
$log->info('job finished successfully.');
|
||||
} catch (PDOException $e) {
|
||||
} catch (Exception $e) {
|
||||
$dbh->rollBack();
|
||||
$log->error('Database error: ' . $e->getMessage());
|
||||
} catch (PDOException $e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue