saleor-apps-redis_apl/.changeset/thin-ravens-begin.md
Adrian Pilarczyk dd799e6993
refactor: use resolveOptionalOrThrow (#480)
* refactor: 🚚 move tax-line-resolver to taxjar-calculate-taxes-map

* feat:  add resolveOptionalOrThrow util

* build: 👷 add changeset

* fix: 🐛 fix shipping line bug & add handleWebhookError

* build: 👷 update changeset

* refactor: ♻️ add optional error argument
2023-05-19 10:57:17 +02:00

5 lines
236 B
Markdown

---
"saleor-app-taxes": minor
---
Adds `resolveOptionalOrThrow` util that throws when not able to resolve an optional value. Now, when critical values from external APIs are not found, the app will crash instead of falling back to 0s.