Commit 41be95a
committed
Guard against nil session in consent confirmation notifier
Old unmatched consent forms can have a `ni`l session if the original session was deleted, causing a `NoMethodError` when attempting to send the confirmation email.
We’ve only just encountered these errors (in `test` and `qa`) as we recently introduced the processing of unmatched consents daily, which touches on very old consent forms too.1 parent a6b3dc5 commit 41be95a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments