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

Nebo15 / logger_json / 1a1f630127924b5d67aeae1f45518d24e7824846
100%

Build:
DEFAULT BRANCH: master
Ran 11 Feb 2026 07:25PM 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

11 Feb 2026 07:24PM UTC coverage: 100.0%. Remained the same
1a1f630127924b5d67aeae1f45518d24e7824846

push

github

web-flow
fix(datadog): Non-map values for error key (#166)

Passing an `error` key is a really easy footgun:

```elixir
Logger.error("Something bad happened", error: "{:error, :something_bad}")
```

Currently, the formatter crashes because it expects `error` to be a map.
This PR fixes the issue by assuming the caller was not trying to define
the error map, and instead nests the value _inside_ the error map:

```elixir
%{
  error: %{
    kind: "error",
    message: "Something bad happened",
    error: "{:error, :something_bad}"
  }
}
```

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

371 of 371 relevant lines covered (100.0%)

2528.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1a1f630127924b5d67aeae1f45518d24e7824846.1 11 Feb 2026 07:25PM UTC 17
100.0
GitHub Action Run
Source Files on build 1a1f630127924b5d67aeae1f45518d24e7824846
  • Tree
  • List 17
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1a1f6301 on github
  • Prev 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