Commit 0c5ac16
committed
fix(billing): add err.stack + consistent stripeSessionId key to backfill logs
Fixes two logger.error calls (lines 332 and 344 of billing.webhook.service.js):
- rename sessionId key to stripeSessionId for consistency with the rest of the file
- add stack: err?.stack to both meta objects, matching surrounding logger.error style
Also updates billing.refund-correlation unit test header comment to reference
BillingFailedBackfillRepository.record instead of the stale BillingFailedBackfill.create.1 parent dbb9c25 commit 0c5ac16
2 files changed
Lines changed: 3 additions & 3 deletions
File tree
- modules/billing
- services
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments