Commit 0018ace
committed
fix: Hint "exception_ignore_args=0" if no arguments are available
The "contextDetails" mechanism iterates over available arguments
and converts them into stringable reprentations.
This broken when `zend.exception_ignore_args=1`, where the args
value was not set at all, which resulted in an additonal Sentry
exception of 'Warning: Undefined array key "args"'.
This fix ommits this additoinal exceptgion and adds a hint to
the initial sentry message.1 parent 764afc9 commit 0018ace
1 file changed
Lines changed: 14 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
88 | 93 | | |
| 94 | + | |
89 | 95 | | |
90 | | - | |
91 | 96 | | |
92 | 97 | | |
93 | 98 | | |
| |||
0 commit comments