Daniel Nephin 1bbea2751f consul/state: refactor tnxService to avoid missed cases
Handling errors at the end of a log switch/case block is somewhat
brittle. This block included a couple cases where errors were ignored,
but it was not obvious the way it was written.

This change moves all error handling into each case block. There is
still potentially one case where err is ignored, which will be handled
in a follow up.
2020-05-19 16:50:14 -04:00
..
2020-05-12 13:47:25 -04:00
2018-11-02 12:00:39 -05:00
2020-05-12 13:47:25 -04:00
2020-05-19 16:50:14 -04:00
2020-05-12 13:47:25 -04:00
2020-02-11 15:19:16 +00:00
2020-04-22 16:48:28 -04:00
2020-04-22 16:48:28 -04:00
2020-03-31 16:13:44 -04:00
2020-05-19 16:50:14 -04:00