Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log error trace if there is no error handler registered #694

Merged
merged 3 commits into from
Oct 21, 2017

Conversation

jh0ker
Copy link
Member

@jh0ker jh0ker commented Jun 29, 2017

No description provided.

raise error

except:
self.logger.exception('No error handlers are registered, logging exception...')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it'll be better to use self.logger.exception('...', exc_info=error) instead of this try-except clause?

@jsmnbom
Copy link
Member

jsmnbom commented Aug 12, 2017

Could you maybe merge from master so tests are updated (so we can get the build to not fail)

@tsnoam
Copy link
Member

tsnoam commented Oct 20, 2017

merged from master

@codecov
Copy link

codecov bot commented Oct 20, 2017

Codecov Report

Merging #694 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #694      +/-   ##
==========================================
+ Coverage   91.73%   91.74%   +<.01%     
==========================================
  Files         101      101              
  Lines        4055     4057       +2     
  Branches      620      621       +1     
==========================================
+ Hits         3720     3722       +2     
  Misses        197      197              
  Partials      138      138
Flag Coverage Δ
#Appveyor 86.88% <100%> (ø) ⬆️
#Travis 91.32% <100%> (ø) ⬆️
Impacted Files Coverage Δ
telegram/ext/dispatcher.py 92.81% <100%> (+0.08%) ⬆️

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 38637ec...e7e9837. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants