Commit 8cf5c89
authored
Fix support for PDOExceptions (#1752)
When a PDOException is thrown (ex. Illuminate's QueryException) during the initialization of a Collector, the current code falls over because the code property on PDOExceptions are actually strings, and not ints.
See [this comment from 15 years ago](https://www.php.net/manual/en/class.pdoexception.php#95812), php/php-src#9529, & php/php-src#122941 parent 4b07d9f commit 8cf5c89
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
757 | | - | |
| 757 | + | |
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
| |||
0 commit comments