mirror of
https://github.com/xtr-dev/payload-billing.git
synced 2025-12-10 10:53:23 +00:00
Previously, error objects were passed directly to the logger without proper serialization, resulting in empty error messages like "Error:" with no details. This made debugging production issues impossible. Changes: - Extract error message and stack trace before logging - Format errors consistently across all providers - Add stack trace logging for better debugging - Update test provider error handling This fixes the issue where webhook and payment update errors showed no useful information in production logs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
7.1 KiB
7.1 KiB