fix(payment): ensure that payment error is captured in logger (#10506)

what:

- when an error occurs upon retrieving a provider, log the original error through the logger

Helps https://github.com/medusajs/medusa/issues/10500 in debugging.
This commit is contained in:
Riqwan Thamir authored and GitHub committed 2024-12-09 16:44:32 +00:00
1 parent f8f5d57c7c
commit a04238a7f1
2 files changed
+9 -1

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/payment": patch
---
fix(payment): ensure that payment error is captured in logger