8000 bug #41917 Rethrow exception in `DoctrineTokenProvider` (jderusse) · symfony/symfony@2db1871 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2db1871

Browse files
committed
bug #41917 Rethrow exception in DoctrineTokenProvider (jderusse)
This PR was merged into the 5.3 branch. Discussion ---------- Rethrow exception in `DoctrineTokenProvider` | Q | A | ------------- | --- | Branch? | 5.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Introduced in #41910 Commits ------- 246e679 rethrow caught exception
2 parents 4651796 + 246e679 commit 2db1871

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bridge/Doctrine/Security/RememberMe/DoctrineTokenProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ public function updateExistingToken(PersistentTokenInterface $token, string $tok
200200
$this->conn->commit();
201201
} catch (\Exception $e) {
202202
$this->conn->rollBack();
203+
throw $e;
203204
}
204205
}
205206

0 commit comments

Comments
 (0)
0