FundingCircle / jackdaw

A Clojure library for the Apache Kafka distributed streaming platform.
https://fundingcircle.github.io/jackdaw/
BSD 3-Clause "New" or "Revised" License
369 stars 80 forks source link

return the error more clearly when something fails #214

Closed AndreaCrotti closed 4 years ago

AndreaCrotti commented 4 years ago

The actual error returned by jackdaw when something fails is buried in a massive map, with this change it can be printed out directly as the error message and returned as data as well.

codecov[bot] commented 4 years ago

Codecov Report

Merging #214 into master will decrease coverage by 0.37%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #214      +/-   ##
==========================================
- Coverage   79.76%   79.39%   -0.38%     
==========================================
  Files          42       42              
  Lines        2570     2572       +2     
  Branches      150      150              
==========================================
- Hits         2050     2042       -8     
- Misses        370      380      +10     
  Partials      150      150
Impacted Files Coverage Δ
src/jackdaw/test.clj 79.41% <100%> (+0.62%) :arrow_up:
src/jackdaw/serdes/edn2.clj 45.45% <0%> (-45.46%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2a773e2...c0bce84. Read the comment docs.