1
0
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:
chylex 2020-08-22 01:03:42 +02:00
parent 94d5d161fe
commit ac3234ab25
2 changed files with 5 additions and 0 deletions

View File

@ -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;
}
}

View File

@ -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;
}
}