mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-15 23:57:48 +00:00
Helps to investigate https://github.com/openfoodfoundation/openfoodnetwork/issues/3924 A better solution would be to move the update of shipments out of the after_save callback and deal with it in controllers. Unfortunately, that's a big and tricky task. Since this exception is causing a lot of pain for some Australian farmers, I introduced more logging here to understand the problem better. The issue was observed in OFN v1 and may disappear with v2. But we don't know that and should monitor it.