# fix\(usage\): preserve quotas when error messages are malformed \(\#237\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/cfeddf6aabe2d5cceb34cc3e96e94d78849112d9)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: cfeddf6aabe2d5cceb34cc3e96e94d78849112d9

Requested commit: cfeddf6aabe2d5cceb34cc3e96e94d78849112d9

Commit: cfeddf6aabe2d5cceb34cc3e96e94d78849112d9

Tree: 7dd52dacde6ae81bddd70905a6c6fd39816f4c93

Author: Simone

Committer: GitHub

## Message

```
fix(usage): preserve quotas when error messages are malformed (#237)

Normalize error text before placeholder rendering and retain failure state when an error record has no usable message. This keeps last-known quotas while healthy providers and current service status still update.

Add production parsing and cache regressions, update usage documentation and Unreleased, and regenerate translation references for the existing fallback. TODO is unaffected because this fixes the existing Linux usage contract.
```

## Parents

- [915a72984b77a1c4aa592a7efba592720e1b500b](https://git.cafe/lucenx/codexbar-plasma/commit/915a72984b77a1c4aa592a7efba592720e1b500b?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/cfeddf6aabe2d5cceb34cc3e96e94d78849112d9?format=markdown)
