• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Nebo15 / logger_json / 88a149b0aca3dd00ebd5d857d1e92626c8f5b5fc
100%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2025 04:41PM UTC
Jobs 1
Files 17
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Jul 2025 04:39PM UTC coverage: 100.0%. Remained the same
88a149b0aca3dd00ebd5d857d1e92626c8f5b5fc

push

github

web-flow
fix(google-cloud): `format_affected_user/1` with non-binary values (#161)

### 🐞 Problem  
The `google_cloud` formatter crashes when it receives a crash log where
the `user context` contains values that are not binaries (e.g.,
integers). This happens because the formatter uses the `<>` operator for
string concatenation, which raises an error when used with non-binary
types.

**Truncated example of a crashed log:**

```bash
2025-01-01T01:01:01.000000+00:00 error: FORMATTER CRASH: {string,<<"** (Postgrex.Error) ERROR 428...
```

### ✅ Solution  
This PR replaces the use of the `<>` operator with `Enum.join/2` when
formatting key-value pairs. This approach safely converts all values to
strings before concatenation, preventing crashes when values are not
binaries.

4 of 4 new or added lines in 1 file covered. (100.0%)

368 of 368 relevant lines covered (100.0%)

2437.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 88a149b0aca3dd00ebd5d857d1e92626c8f5b5fc.1 08 Jul 2025 04:41PM UTC 17
100.0
GitHub Action Run
Source Files on build 88a149b0aca3dd00ebd5d857d1e92626c8f5b5fc
  • Tree
  • List 17
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 88a149b0 on github
  • Prev Build on master (#6E776806...)
  • Next Build on master (#1524672B...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc