Commit acb68b3
authored
Extend the detection of connection lost in the PostgreSQL ExceptionConverter (#7010)
| Q | A
|------------- | -----------
| Type | improvement
| Fixed issues |
#### Summary
In some cases I'm getting the following exception:
`Doctrine\DBAL\Exception\DriverException #7
An exception occurred while executing a query: SQLSTATE[HY000]: General
error: 7 server closed the connection unexpectedly
This probably means the server terminated abnormally before or while
processing the request. `
I think this exception should be converted to the ConnectionLost
exception.1 parent b37d160 commit acb68b3
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
| |||
0 commit comments