Commit 5729824
authored
Do not fingerprint error reason (#19)
Including the error reason among the fingerprinted parameters caused wrong error grouping in certain scenarios such as accessing not-existing map fields.
This pull request stores only the original reason in the error itself and then records each occurrence reason. This ensures that errors are grouped together even though the reason has slight changes.
I am not sure if it is worth to keep the reason in the error itself, but we can always remove it later so this doesn't have to be decided now.1 parent 4ba3283 commit 5729824
File tree
5 files changed
+19
-17
lines changed- lib
- error_tracker
- migrations/postgres
- schemas
- web/live
5 files changed
+19
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
15 | 27 | | |
16 | | - | |
| 28 | + | |
17 | 29 | | |
18 | 30 | | |
19 | 31 | | |
| |||
24 | 36 | | |
25 | 37 | | |
26 | 38 | | |
27 | | - | |
| 39 | + | |
28 | 40 | | |
29 | 41 | | |
30 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 28 | | |
41 | 29 | | |
42 | | - | |
43 | 30 | | |
44 | 31 | | |
45 | 32 | | |
| |||
48 | 35 | | |
49 | 36 | | |
50 | 37 | | |
| 38 | + | |
51 | 39 | | |
52 | 40 | | |
53 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments