Ben Thorner
22e055f4d1
DRY-up recording the outcome of SMS sending
...
This reduces the code to copy when we add a new provider. I don't
think we need to log the URL or status code each time:
- The URL is always the same.
- A "200" status code is implicit in "success".
- Other status codes will be reported as exceptions.
Removing these specific elements means "record_outcome" is generic
and can be de-duplicated in the base class.
2022-03-30 13:36:58 +01:00
..
2021-08-04 16:16:31 +01:00
2021-03-15 17:18:20 +00:00
2022-02-28 12:45:25 +00:00
2022-02-14 12:34:09 +00:00
2022-03-30 13:36:56 +01:00
2022-03-30 13:36:58 +01:00
2021-03-12 11:45:45 +00:00
2022-03-22 16:21:53 +00:00
2022-03-30 13:36:55 +01:00
2021-03-12 11:45:45 +00:00
2021-03-12 11:45:45 +00:00
2021-09-15 15:36:17 +01:00
2021-03-12 11:45:45 +00:00
2021-03-12 11:45:45 +00:00
2021-03-12 11:45:45 +00:00
2021-03-12 11:45:45 +00:00
2022-03-02 10:51:08 +00:00
2022-03-24 16:56:33 +00:00
2022-01-13 17:12:40 +00:00
2021-11-25 17:14:34 +00:00
2021-03-15 12:04:53 +00:00
2022-03-09 12:29:58 +00:00
2021-03-12 11:45:45 +00:00
2021-03-12 11:45:45 +00:00
2022-01-13 17:12:40 +00:00
2021-03-12 13:56:05 +00:00
2021-03-12 11:45:45 +00:00
2021-04-29 13:32:36 +01:00
2021-04-19 10:56:00 +01:00
2021-03-12 11:45:45 +00:00
2021-03-12 11:45:45 +00:00
2022-03-07 15:03:46 +00:00
2022-02-22 16:26:05 +00:00
2021-05-12 17:48:38 +01:00
2021-03-12 11:45:45 +00:00
2021-11-16 13:58:12 +00:00
2021-04-29 13:49:37 +01:00
2022-03-28 14:03:54 +01:00
2022-03-09 11:07:50 +00:00
2021-11-17 09:48:03 +00:00
2021-03-12 11:45:45 +00:00
2021-03-12 11:45:45 +00:00
2021-03-12 11:45:45 +00:00
2022-02-09 10:15:03 +00:00
2021-03-12 11:45:45 +00:00
2021-06-16 10:46:18 +01:00
2022-02-10 10:51:27 +00:00