Commit 48e7ef2
committed
Stop swallowing errors from tasks
We have had lots of intermittent test failures on these tasks. These tasks are all swallowing their errors which makes it difficult to debug.
We could make the tests output the rails log to standard out or make the log available after but this will make the output hard to match up to the individual test.
Generally we shouldn't swallow errors like this as it makes it difficult to debug and easy for tests to pass for the wrong reasons.
The transaction will work as before as any error raised in a transaction will call a rollback.1 parent a35c7fe commit 48e7ef2
2 files changed
Lines changed: 0 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 44 | | |
48 | 45 | | |
49 | 46 | | |
| |||
60 | 57 | | |
61 | 58 | | |
62 | 59 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 60 | | |
67 | 61 | | |
68 | 62 | | |
| |||
80 | 74 | | |
81 | 75 | | |
82 | 76 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | 77 | | |
87 | 78 | | |
88 | 79 | | |
| |||
110 | 101 | | |
111 | 102 | | |
112 | 103 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | 104 | | |
117 | 105 | | |
118 | 106 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 42 | | |
47 | 43 | | |
48 | 44 | | |
| |||
74 | 70 | | |
75 | 71 | | |
76 | 72 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | 73 | | |
81 | 74 | | |
82 | 75 | | |
| |||
0 commit comments