tg-rs / carapax

A Telegram Bot API framework
MIT License
113 stars 12 forks source link

Allow to set custom error handler for dispatcher #59

Closed ark0f closed 4 years ago

ark0f commented 4 years ago

And extract default error handler in command dispatcher

codecov-io commented 4 years ago

Codecov Report

Merging #59 into master will decrease coverage by <.01%. The diff coverage is 42.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #59      +/-   ##
==========================================
- Coverage   50.53%   50.53%   -0.01%     
==========================================
  Files         148      148              
  Lines        9595     9603       +8     
  Branches     2493     2491       -2     
==========================================
+ Hits         4849     4853       +4     
- Misses       2262     2265       +3     
- Partials     2484     2485       +1
Impacted Files Coverage Δ
carapax/src/dispatcher.rs 52.23% <26.66%> (-4.91%) :arrow_down:
carapax/src/command.rs 44.44% <61.53%> (+3.09%) :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 3efb84c...c31b54d. Read the comment docs.

rossnomann commented 4 years ago

Merged