mirror of
https://github.com/xtr-dev/payload-billing.git
synced 2025-12-10 02:43:24 +00:00
fix: improve error logging with detailed messages and stack traces
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>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@xtr-dev/payload-billing",
|
||||
"version": "0.1.23",
|
||||
"version": "0.1.24",
|
||||
"description": "PayloadCMS plugin for billing and payment provider integrations with tracking and local testing",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
|
||||
Reference in New Issue
Block a user