machinery icon indicating copy to clipboard operation
machinery copied to clipboard

Failed task signature on error handler

Open nicklaros opened this issue 4 years ago • 1 comments

Current error handler only accept error as arguments, I propose to add failed task signature to make it more useful. Some use case is when we need to broadcast error event about failed task to notify other system.

nicklaros avatar Oct 28 '20 06:10 nicklaros

Codecov Report

Merging #615 into master will increase coverage by 0.03%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #615      +/-   ##
==========================================
+ Coverage   37.24%   37.27%   +0.03%     
==========================================
  Files          36       36              
  Lines        3112     3109       -3     
==========================================
  Hits         1159     1159              
+ Misses       1805     1802       -3     
  Partials      148      148              
Impacted Files Coverage Δ
v2/worker.go 2.25% <0.00%> (+0.03%) :arrow_up:

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 260989d...108d841. Read the comment docs.

codecov[bot] avatar Oct 28 '20 07:10 codecov[bot]