mirror of
https://github.com/chylex/Lightning-Tracker.git
synced 2025-01-08 01:42:45 +01:00
Fix missing exception rethrows after several rollbacks
This commit is contained in:
parent
94d5d161fe
commit
ac3234ab25
src/Database/Tables
@ -49,6 +49,7 @@ SQL
|
||||
$this->db->commit();
|
||||
}catch(PDOException $e){
|
||||
$this->db->rollBack();
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
@ -67,6 +68,7 @@ SQL
|
||||
$this->db->commit();
|
||||
}catch(PDOException $e){
|
||||
$this->db->rollBack();
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
@ -92,6 +94,7 @@ SQL
|
||||
$this->db->commit();
|
||||
}catch(PDOException $e){
|
||||
$this->db->rollBack();
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -103,6 +103,7 @@ final class TrackerPermTable extends AbstractTrackerTable{
|
||||
$this->db->commit();
|
||||
}catch(PDOException $e){
|
||||
$this->db->rollBack();
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
@ -128,6 +129,7 @@ final class TrackerPermTable extends AbstractTrackerTable{
|
||||
$this->db->commit();
|
||||
}catch(PDOException $e){
|
||||
$this->db->rollBack();
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user