Commit e885480
authored
Error reporting: indicate the actual level instead of always 'Error' (#1742)
Previously, (just) a warning would be logged as
"Error 2 - something"
"Error 8192 - use of thing is deprecated"
Now this is logged as
"Warning - something"
"Deprecated - use of thing is deprecated"
This should avoid red herrings when debugging an issue when e.g. a
warning, notice or even deprecation notice looks like its an
actual error while it's not.1 parent c3937e4 commit e885480
1 file changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
66 | 84 | | |
67 | 85 | | |
68 | | - | |
| 86 | + | |
69 | 87 | | |
70 | 88 | | |
71 | 89 | | |
| |||
0 commit comments